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:
parent
af58ec63b6
commit
7ae9c8d5ce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue