From af59e2ac3114a16e25a76c611a179670b101c0b1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Feb 2009 10:20:28 +0000 Subject: made 'make' in tools/database work again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20109 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index 7bf9ac01f5..d7a64b3733 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -25,7 +25,6 @@ #include "lcd.h" #include "file.h" #ifdef __PCTOOL__ -#include #include #include #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. -- cgit v1.2.3