Fix FS#9010 warning in checkwps when building on an amd64 machine

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17582 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2008-05-19 14:37:16 +00:00
parent 08be4ce138
commit a21004dee6
2 changed files with 7 additions and 2 deletions

View file

@ -23,6 +23,8 @@
#include "gwps.h" #include "gwps.h"
#include "file.h" #include "file.h"
#include "misc.h" #include "misc.h"
#include "plugin.h"
#ifdef __PCTOOL__ #ifdef __PCTOOL__
#define DEBUGF printf #define DEBUGF printf
#define FONT_SYSFIXED 0 #define FONT_SYSFIXED 0
@ -39,7 +41,6 @@
#include "gwps.h" #include "gwps.h"
#include "settings.h" #include "settings.h"
#include "plugin.h"
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
#include "bmp.h" #include "bmp.h"

View file

@ -34,6 +34,10 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
void* plugin_get_buffer(size_t *buffer_size);
#ifndef __PCTOOL__
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include "dir.h" #include "dir.h"
@ -796,7 +800,6 @@ extern unsigned char plugin_end_addr[];
#endif /* PLUGIN */ #endif /* PLUGIN */
int plugin_load(const char* plugin, const void* parameter); int plugin_load(const char* plugin, const void* parameter);
void* plugin_get_buffer(size_t *buffer_size);
void* plugin_get_audio_buffer(size_t *buffer_size); void* plugin_get_audio_buffer(size_t *buffer_size);
#ifdef PLUGIN_USE_IRAM #ifdef PLUGIN_USE_IRAM
void plugin_iram_init(char *iramstart, char *iramcopy, size_t iram_size, void plugin_iram_init(char *iramstart, char *iramcopy, size_t iram_size,
@ -858,4 +861,5 @@ enum plugin_status plugin_start(const struct plugin_api* rockbox, const void* pa
} }
#endif /* ALIGN_BUFFER_WRAPPER */ #endif /* ALIGN_BUFFER_WRAPPER */
#endif /* __PCTOOL__ */
#endif #endif