Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9T19-0004Cs-MV for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:26:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9T18-0004CW-Rx for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:26:27 -0500 Received: from [199.232.76.173] (port=39320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9T18-0004CP-HN for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:26:26 -0500 Received: from savannah.gnu.org ([199.232.41.3]:56960 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9T18-0006Kw-8v for qemu-devel@nongnu.org; Sun, 07 Dec 2008 18:26:26 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9T17-0001kM-DD for qemu-devel@nongnu.org; Sun, 07 Dec 2008 23:26:25 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9T17-0001kG-5i for qemu-devel@nongnu.org; Sun, 07 Dec 2008 23:26:25 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 07 Dec 2008 23:26:25 +0000 Subject: [Qemu-devel] [5944] MIPS: remove a few warnings Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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) ||