* [Qemu-devel] [5944] MIPS: remove a few warnings
@ 2008-12-07 23:26 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-12-07 23:26 UTC (permalink / raw)
To: qemu-devel
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 <aurelien@aurel32.net>
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) ||
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-07 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 23:26 [Qemu-devel] [5944] MIPS: remove a few warnings Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).