[5944] MIPS: remove a few warnings
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 <[email protected]>
Modified Paths:
--------------
trunk/hw/g364fb.c
trunk/hw/mips_jazz.c
trunk/hw/rc4030.c
trunk/target-mips/op_helper.cModified: trunk/hw/g364fb.c
===================================================================
hw/g364fb.c +1 -0
@@ -20,6 +20,7 @@*/ #include "hw.h" +#include "mips.h" #include "console.h" #include "pixel_ops.h"
Modified: trunk/hw/mips_jazz.c
===================================================================
hw/mips_jazz.c +2 -2
@@ -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
===================================================================
hw/rc4030.c +1 -0
@@ -23,6 +23,7 @@*/ #include "hw.h" +#include "mips.h" #include "qemu-timer.h" //#define DEBUG_RC4030
Modified: trunk/target-mips/op_helper.c
===================================================================
target-mips/op_helper.c +4 -4
@@ -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) ||