summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Patulea <cat@vv.carleton.ca>2008-01-13 20:17:59 +0000
committerCatalin Patulea <cat@vv.carleton.ca>2008-01-13 20:17:59 +0000
commit7ed787360c043295aa27ca92bdd113c43d47d8f4 (patch)
treec88542ff78fe7dd505894e8a62a1dd13a12f656f
parent784112a0756cde8badaeb69b50b6dc08f945116b (diff)
Fix compile error in wps_debug.c when -DDEBUG and not simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16084 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/wps_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c
index 4fa39dcf35..0f69c76938 100644
--- a/apps/gui/wps_debug.c
+++ b/apps/gui/wps_debug.c
@@ -441,6 +441,7 @@ static char *get_token_desc(struct wps_token *token, struct wps_data *data,
return buf;
}
+#if defined(SIMULATOR) || defined(__PCTOOL__)
static void dump_wps_tokens(struct wps_data *data)
{
struct wps_token *token;
@@ -558,6 +559,7 @@ static void print_wps_strings(struct wps_data *data)
DEBUGF("\n");
}
}
+#endif
void print_debug_info(struct wps_data *data, int fail, int line)
{