dont build the debug code in ROCKBOX, save ~400bytes

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27109 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-24 14:46:21 +00:00
parent 5da84ec4da
commit 4146882277
2 changed files with 10 additions and 1 deletions

View file

@ -1,5 +1,7 @@
skin_buffer.c
skin_parser.c
#ifndef ROCKBOX
skin_debug.c
#endif
skin_scan.c
tag_table.c

View file

@ -29,7 +29,7 @@ extern "C"
#endif
#include "skin_parser.h"
#ifndef ROCKBOX
/* Debugging functions */
void skin_error(enum skin_errorcode error);
int skin_error_line(void);
@ -40,6 +40,13 @@ void skin_debug_tree(struct skin_element* root);
/* Auxiliary debug functions */
void skin_debug_params(int count, struct skin_tag_parameter params[]);
void skin_debug_indent(void);
#else
#define skin_error(...)
#define skin_clear_errors()
#endif /* !ROCKBOX */
#ifdef __cplusplus
}