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
This commit is contained in:
Dave Chapman 2008-03-26 23:35:34 +00:00
parent d75bb78fda
commit 78d29f535f
16 changed files with 133 additions and 24 deletions

View file

@ -53,6 +53,7 @@
#include "dsp.h"
#include "action.h"
#include "cuesheet.h"
#include "playlist.h"
#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
#include "backdrop.h"

View file

@ -22,7 +22,6 @@
#include "screen_access.h"
#include "statusbar.h"
#include "id3.h"
#include "playlist.h"
/* constants used in line_type and as refresh_mode for wps_refresh */
#define WPS_REFRESH_STATIC 1 /* line doesn't change over time */

View file

@ -20,6 +20,8 @@
#include <stdio.h>
#include <string.h>
#include "gwps.h"
#include "file.h"
#include "misc.h"
#ifdef __PCTOOL__
#define DEBUGF printf
#define FONT_SYSFIXED 0
@ -39,7 +41,6 @@
#include "atoi.h"
#include "gwps.h"
#include "settings.h"
#include "misc.h"
#include "plugin.h"
#ifdef HAVE_LCD_BITMAP

View file

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

View file

@ -35,11 +35,11 @@
#include "inttypes.h"
#include "debug.h"
#include "lcd.h"
#include "file.h"
#ifdef HAVE_REMOTE_LCD
#include "lcd-remote.h"
#endif
#ifndef __PCTOOL__
#include "file.h"
#include "config.h"
#include "system.h"
#include "bmp.h"

View file

@ -59,6 +59,7 @@
#endif
#include "gwps-common.h"
#include "bookmark.h"
#include "playlist.h"
#include "tagtree.h"
#include "menus/exported_menus.h"
#ifdef HAVE_RTC_ALARM