From bf54647132ecf9b60cea2bac68f5113300f29a91 Mon Sep 17 00:00:00 2001 From: Tomasz Malesinski Date: Sun, 12 Feb 2006 23:26:18 +0000 Subject: Fixed warnings in the iFP target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8671 a1c6a512-1295-4272-9138-f99709370657 --- firmware/debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/debug.c') diff --git a/firmware/debug.c b/firmware/debug.c index 4031ba4..ef57053 100644 --- a/firmware/debug.c +++ b/firmware/debug.c @@ -28,8 +28,10 @@ #ifdef DEBUG static char debugmembuf[200]; +#if CONFIG_CPU == SH3704 static char debugbuf[400]; #endif +#endif #ifndef SIMULATOR /* allow non archos platforms to display output */ #include "kernel.h" @@ -222,7 +224,7 @@ static void debug(char *msg) if (f) (*f)(msg); } -void debug_init() +void debug_init(void) { } -- cgit v1.1