Commit 947f5fcbde4836d22386bb83e6839322912979a6

Authored by malc
1 parent 5e10fc90

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
@@ -54,7 +54,7 @@ ldexpl(long double x, int n) { @@ -54,7 +54,7 @@ ldexpl(long double x, int n) {
54 #if defined(_ARCH_PPC) 54 #if defined(_ARCH_PPC)
55 55
56 /* correct (but slow) PowerPC rint() (glibc version is incorrect) */ 56 /* correct (but slow) PowerPC rint() (glibc version is incorrect) */
57 -double qemu_rint(double x) 57 +static double qemu_rint(double x)
58 { 58 {
59 double y = 4503599627370496.0; 59 double y = 4503599627370496.0;
60 if (fabs(x) >= y) 60 if (fabs(x) >= y)
hw/fmopl.c
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA 31 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
32 */ 32 */
33 33
34 -#define INLINE __inline 34 +#define INLINE static inline
35 #define HAS_YM3812 1 35 #define HAS_YM3812 1
36 36
37 #include <stdio.h> 37 #include <stdio.h>