[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5944] MIPS: remove a few warnings
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [5944] MIPS: remove a few warnings |
Date: |
Sun, 07 Dec 2008 23:26:25 +0000 |
Revision: 5944
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5944
Author: aurel32
Date: 2008-12-07 23:26:24 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
MIPS: remove a few warnings
Signed-off-by: Aurelien Jarno <address@hidden>
Modified Paths:
--------------
trunk/hw/g364fb.c
trunk/hw/mips_jazz.c
trunk/hw/rc4030.c
trunk/target-mips/op_helper.c
Modified: trunk/hw/g364fb.c
===================================================================
--- trunk/hw/g364fb.c 2008-12-07 23:26:17 UTC (rev 5943)
+++ trunk/hw/g364fb.c 2008-12-07 23:26:24 UTC (rev 5944)
@@ -20,6 +20,7 @@
*/
#include "hw.h"
+#include "mips.h"
#include "console.h"
#include "pixel_ops.h"
Modified: trunk/hw/mips_jazz.c
===================================================================
--- trunk/hw/mips_jazz.c 2008-12-07 23:26:17 UTC (rev 5943)
+++ trunk/hw/mips_jazz.c 2008-12-07 23:26:24 UTC (rev 5944)
@@ -102,12 +102,12 @@
}
#endif
-void espdma_memory_read(void *opaque, uint8_t *buf, int len)
+static void espdma_memory_read(void *opaque, uint8_t *buf, int len)
{
printf("espdma_memory_read(buf %p, len %d) not implemented\n", buf, len);
}
-void espdma_memory_write(void *opaque, uint8_t *buf, int len)
+static void espdma_memory_write(void *opaque, uint8_t *buf, int len)
{
printf("espdma_memory_write(buf %p, len %d) not implemented\n", buf, len);
}
Modified: trunk/hw/rc4030.c
===================================================================
--- trunk/hw/rc4030.c 2008-12-07 23:26:17 UTC (rev 5943)
+++ trunk/hw/rc4030.c 2008-12-07 23:26:24 UTC (rev 5944)
@@ -23,6 +23,7 @@
*/
#include "hw.h"
+#include "mips.h"
#include "qemu-timer.h"
//#define DEBUG_RC4030
Modified: trunk/target-mips/op_helper.c
===================================================================
--- trunk/target-mips/op_helper.c 2008-12-07 23:26:17 UTC (rev 5943)
+++ trunk/target-mips/op_helper.c 2008-12-07 23:26:24 UTC (rev 5944)
@@ -1701,7 +1701,7 @@
return t0;
}
-void debug_pre_eret (void)
+static void debug_pre_eret (void)
{
fprintf(logfile, "ERET: PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx,
env->active_tc.PC, env->CP0_EPC);
@@ -1712,7 +1712,7 @@
fputs("\n", logfile);
}
-void debug_post_eret (void)
+static void debug_post_eret (void)
{
fprintf(logfile, " => PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx,
env->active_tc.PC, env->CP0_EPC);
@@ -2776,7 +2776,7 @@
CLEAR_FP_COND(cc, env->active_fpu); \
}
-int float64_is_unordered(int sig, float64 a, float64 b STATUS_PARAM)
+static int float64_is_unordered(int sig, float64 a, float64 b STATUS_PARAM)
{
if (float64_is_signaling_nan(a) ||
float64_is_signaling_nan(b) ||
@@ -2834,7 +2834,7 @@
CLEAR_FP_COND(cc, env->active_fpu); \
}
-flag float32_is_unordered(int sig, float32 a, float32 b STATUS_PARAM)
+static flag float32_is_unordered(int sig, float32 a, float32 b STATUS_PARAM)
{
if (float32_is_signaling_nan(a) ||
float32_is_signaling_nan(b) ||
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5944] MIPS: remove a few warnings,
Aurelien Jarno <=