summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-02-12 23:26:18 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-02-12 23:26:18 +0000
commitbf54647132ecf9b60cea2bac68f5113300f29a91 (patch)
tree2b8b3543368ce64693cfe6fef24a560ae2403764 /firmware/debug.c
parentb60f9af5267324ca458c1e0ef01853c62552c87f (diff)
Fixed warnings in the iFP target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8671 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/debug.c b/firmware/debug.c
index 4031ba432d..ef57053791 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)
{
}