diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-02-07 19:59:51 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-02-07 19:59:51 +0000 |
commit | 7ae9c8d5ced6f9693c8b773f3614249a944f42ad (patch) | |
tree | 339636b4c3c1b58ea4fa49087fe40eb1d5129e64 | |
parent | af58ec63b63b184980f1fb648b54c09a4bdc08ec (diff) |
Fix building of tools/database/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19940 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/logf.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/logf.c b/firmware/logf.c index 054baa14ea..8821f4a658 100644 --- a/firmware/logf.c +++ b/firmware/logf.c @@ -97,15 +97,6 @@ static void displayremote(void) #define displayremote() #endif -static void check_logfindex(void) -{ - if(logfindex >= MAX_LOGF_LINES) { - /* wrap */ - logfwrap = true; - logfindex = 0; - } -} - #ifdef __PCTOOL__ void _logf(const char *format, ...) { @@ -117,6 +108,15 @@ void _logf(const char *format, ...) printf("DEBUG: %s\n", buf); } #else +static void check_logfindex(void) +{ + if(logfindex >= MAX_LOGF_LINES) { + /* wrap */ + logfwrap = true; + logfindex = 0; + } +} + void _logf(const char *format, ...) { int len; |