diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-25 10:56:51 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-25 10:56:51 +0000 |
commit | 947f5fcbde4836d22386bb83e6839322912979a6 (patch) | |
tree | b8a3ae357a9475c3029e35537c82b4e40bd26e5c | |
parent | 5e10fc904e8645b9ffb4b042dca65c64b65f61ee (diff) |
Add static qualifier to local functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6436 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | fpu/softfloat-native.c | 2 | ||||
-rw-r--r-- | 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 <stdio.h> |