summaryrefslogtreecommitdiff
path: root/apps/language.c
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-03-02 04:48:53 +0000
committerTom Ross <midgey@rockbox.org>2009-03-02 04:48:53 +0000
commitaaf3f5fd01be05d5e80c9e49512e2af4baf3ccb6 (patch)
tree460b97f23da3ac94014cdb16e6e50518d1861ea0 /apps/language.c
parent7125b9ebcb80cec6d411c22976df9fdb401caf5f (diff)
Another small change from my GSoC work: get rid of some old printf code in language.c and replace it with DEBUGF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20168 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.c')
-rw-r--r--apps/language.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/language.c b/apps/language.c
index a714ef7d90..7253ec275b 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -20,9 +20,6 @@
****************************************************************************/
#include <file.h>
-#if defined(SIMULATOR) && defined(__MINGW32__)
-extern int printf(const char *format, ...);
-#endif
#include "language.h"
#include "lang.h"
@@ -76,8 +73,8 @@ int lang_load(const char *filename)
ptr+=2; /* pass the id */
if(id < LANG_LAST_INDEX_IN_ARRAY) {
#if 0
- printf("%2x New: %30s ", id, ptr);
- printf("Replaces: %s\n", language_strings[id]);
+ DEBUGF("%2x New: %30s ", id, ptr);
+ DEBUGF("Replaces: %s\n", language_strings[id]);
#endif
language_strings[id] = ptr; /* point to this string */
}