Fix building of tools/database/

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19940 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-02-07 19:59:51 +00:00
parent af58ec63b6
commit 7ae9c8d5ce
1 changed files with 9 additions and 9 deletions

View File

@ -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;