aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpu/softfloat-native.c2
-rw-r--r--hw/fmopl.c2
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>