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)
downloadrockbox-7ed787360c043295aa27ca92bdd113c43d47d8f4.tar.gz
rockbox-7ed787360c043295aa27ca92bdd113c43d47d8f4.zip
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,
441 return buf; 441 return buf;
442} 442}
443 443
444#if defined(SIMULATOR) || defined(__PCTOOL__)
444static void dump_wps_tokens(struct wps_data *data) 445static void dump_wps_tokens(struct wps_data *data)
445{ 446{
446 struct wps_token *token; 447 struct wps_token *token;
@@ -558,6 +559,7 @@ static void print_wps_strings(struct wps_data *data)
558 DEBUGF("\n"); 559 DEBUGF("\n");
559 } 560 }
560} 561}
562#endif
561 563
562void print_debug_info(struct wps_data *data, int fail, int line) 564void print_debug_info(struct wps_data *data, int fail, int line)
563{ 565{