diff options
author | Dave Chapman <dave@dchapman.com> | 2008-03-26 23:35:34 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-03-26 23:35:34 +0000 |
commit | 78d29f535ff14a5f213125baf63fa2961be17d79 (patch) | |
tree | a3d0992ab3a87ab073ed5aafa0529821dcedd31e /apps/misc.c | |
parent | d75bb78fdad9f3252df21e469c6f07346e250de4 (diff) |
Major cleanup of checkwps - fix all warnings and add a script to build versions for all supported targets (plus some unsupported ones). You now need to run the version of checkwps that matches the device your WPS is for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/misc.c b/apps/misc.c index 1ce65c0108..1d83640dc4 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -18,14 +18,16 @@ ****************************************************************************/ #include <stdlib.h> #include <ctype.h> +#include "config.h" +#include "lcd.h" +#include "file.h" +#ifdef __PCTOOL__ +#include <stdarg.h> +#else #include "sprintf.h" -#ifndef __PCTOOL__ #include "lang.h" #include "string.h" -#include "config.h" -#include "file.h" #include "dir.h" -#include "lcd.h" #include "lcd-remote.h" #include "errno.h" #include "system.h" @@ -49,7 +51,6 @@ #include "tagcache.h" #include "scrobbler.h" #include "sound.h" -#endif #ifdef HAVE_MMC #include "ata_mmc.h" @@ -77,7 +78,6 @@ #endif #endif -#ifndef __PCTOOL__ /* Format a large-range value for output, using the appropriate unit so that * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" * units) if possible, and 3 significant digits are shown. If a buffer is |