From 7ed787360c043295aa27ca92bdd113c43d47d8f4 Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Sun, 13 Jan 2008 20:17:59 +0000 Subject: 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 --- apps/gui/wps_debug.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3