From 947f5fcbde4836d22386bb83e6839322912979a6 Mon Sep 17 00:00:00 2001 From: malc Date: Sun, 25 Jan 2009 10:56:51 +0000 Subject: [PATCH] Add static qualifier to local functions git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6436 c046a42c-6fe2-441c-8c8c-71466251a162 --- fpu/softfloat-native.c | 2 +- hw/fmopl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c index 9eba03540b..90fa8b9445 100644 --- a/fpu/softfloat-native.c +++ b/fpu/softfloat-native.c @@ -54,7 +54,7 @@ ldexpl(long double x, int n) { #if defined(_ARCH_PPC) /* correct (but slow) PowerPC rint() (glibc version is incorrect) */ -double qemu_rint(double x) +static double qemu_rint(double x) { double y = 4503599627370496.0; if (fabs(x) >= y) diff --git a/hw/fmopl.c b/hw/fmopl.c index 67a23b6999..52cf35e3f9 100644 --- a/hw/fmopl.c +++ b/hw/fmopl.c @@ -31,7 +31,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA */ -#define INLINE __inline +#define INLINE static inline #define HAS_YM3812 1 #include