1
0
Fork 0
forked from len0rd/rockbox

made 'make' in tools/database work again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20109 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2009-02-26 10:20:28 +00:00
parent 8bdea23b88
commit af59e2ac31
2 changed files with 17 additions and 14 deletions

View file

@ -25,7 +25,6 @@
#include "lcd.h"
#include "file.h"
#ifdef __PCTOOL__
#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef WPSEDITOR
@ -766,16 +765,6 @@ char* strrsplt(char* str, int c)
return s;
}
char* skip_whitespace(char* const str)
{
char *s = str;
while (isspace(*s))
s++;
return s;
}
/* Test file existence, using dircache of possible */
bool file_exists(const char *file)
{
@ -839,6 +828,16 @@ char *strip_extension(char* buffer, int buffer_size, const char *filename)
}
#endif /* !defined(__PCTOOL__) */
char* skip_whitespace(char* const str)
{
char *s = str;
while (isspace(*s))
s++;
return s;
}
/* Format time into buf.
*
* buf - buffer to format to.