]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
MIPS: remove a few warnings
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 7 Dec 2008 23:26:24 +0000 (23:26 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 7 Dec 2008 23:26:24 +0000 (23:26 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5944 c046a42c-6fe2-441c-8c8c-71466251a162

hw/g364fb.c
hw/mips_jazz.c
hw/rc4030.c
target-mips/op_helper.c

index 64c29889e0beb508bb03710eb4198b924e29a1e2..5360bce6362db6b604add13374614c3517fcb392 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "hw.h"
+#include "mips.h"
 #include "console.h"
 #include "pixel_ops.h"
 
index b332a4598e2b2e4d499dbf450afc9b8ddde40cf1..cdf21962047e65ef64f45c199a7506f940dcc387 100644 (file)
@@ -102,12 +102,12 @@ static void audio_init(qemu_irq *pic)
 }
 #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);
 }
index 0384cf272233d8e86b84ccb792e50e9e066bb227..54f9adfa3ede964d8b78005a0910df52870fb8de 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include "hw.h"
+#include "mips.h"
 #include "qemu-timer.h"
 
 //#define DEBUG_RC4030
index 390de7bbc116b37302e08c9b87046cdd77a91e92..27f58c2be12b56ab06e9d4f96b3b84b8f738d8ce 100644 (file)
@@ -1701,7 +1701,7 @@ target_ulong do_ei (void)
     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 @@ void debug_pre_eret (void)
     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 @@ void do_cmpabs_d_ ## op (uint64_t fdt0, uint64_t fdt1, int cc) \
         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 @@ void do_cmpabs_s_ ## op (uint32_t fst0, uint32_t fst1, int cc) \
         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) ||