Skip to contentSkip to conversation

[6436] Add static qualifier to local functions

Qemu-devel malc 1 participant 1 message Jan 25, 2009

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 6436

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6436
Author:   malc
Date:     2009-01-25 10:56:51 +0000 (Sun, 25 Jan 2009)

Log Message:
-----------
Add static qualifier to local functions

Modified Paths:
--------------
trunk/fpu/softfloat-native.c
trunk/hw/fmopl.c

Modified: trunk/fpu/softfloat-native.c
===================================================================

fpu/softfloat-native.c +1 -1
@@ -54,7 +54,7 @@
 #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)

Modified: trunk/hw/fmopl.c
===================================================================

hw/fmopl.c +1 -1
@@ -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>