From cd5158ea694b6a389e7d8b35cdd5f5b5562335e0 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 7 Dec 2008 23:26:24 +0000 Subject: MIPS: remove a few warnings Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5944 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/op_helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target-mips') diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 390de7b..27f58c2 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -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) || -- cgit v1.1