[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6436] Add static qualifier to local functions
From: |
malc |
Subject: |
[Qemu-devel] [6436] Add static qualifier to local functions |
Date: |
Sun, 25 Jan 2009 10:56:51 +0000 |
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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6436] Add static qualifier to local functions,
malc <=