All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [6436] Add static qualifier to local functions
@ 2009-01-25 10:56 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2009-01-25 10:56 UTC (permalink / raw)
  To: qemu-devel

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
===================================================================
--- trunk/fpu/softfloat-native.c	2009-01-25 10:56:48 UTC (rev 6435)
+++ trunk/fpu/softfloat-native.c	2009-01-25 10:56:51 UTC (rev 6436)
@@ -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
===================================================================
--- trunk/hw/fmopl.c	2009-01-25 10:56:48 UTC (rev 6435)
+++ trunk/hw/fmopl.c	2009-01-25 10:56:51 UTC (rev 6436)
@@ -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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-25 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 10:56 [Qemu-devel] [6436] Add static qualifier to local functions malc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.