1
0
Fork 0
forked from len0rd/rockbox

Rockbox as an application: Fix a few yellows

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-07-25 17:07:56 +00:00
parent c853097c2a
commit 4e8ef93509
2 changed files with 5 additions and 4 deletions

View file

@ -460,7 +460,7 @@ static bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device,
} }
#endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */
#ifndef SIMULATOR #if (CONFIG_PLATFORM & PLATFORM_NATIVE)
#ifdef CPU_PP #ifdef CPU_PP
static int perfcheck(void) static int perfcheck(void)
{ {
@ -663,7 +663,7 @@ static bool dbg_hw_info(void)
while (!(action_userabort(TIMEOUT_BLOCK))); while (!(action_userabort(TIMEOUT_BLOCK)));
#elif (CONFIG_PLATFORM & PLATFORM_NATIVE) #else
/* Define this function in your target tree */ /* Define this function in your target tree */
return __dbg_hw_info(); return __dbg_hw_info();
#endif /* CONFIG_CPU */ #endif /* CONFIG_CPU */
@ -756,7 +756,7 @@ static bool dbg_hw_info(void)
return false; return false;
} }
#endif /* !HAVE_LCD_BITMAP */ #endif /* !HAVE_LCD_BITMAP */
#endif /* !SIMULATOR */ #endif /* PLATFORM_NATIVE */
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) #if (CONFIG_PLATFORM & PLATFORM_NATIVE)
static const char* dbg_partitions_getname(int selected_item, void *data, static const char* dbg_partitions_getname(int selected_item, void *data,

View file

@ -112,9 +112,10 @@
#include "m5636.h" #include "m5636.h"
#endif #endif
#ifdef SIMULATOR #if (CONFIG_PLATFORM & PLATFORM_HOSTED)
#include "sim_tasks.h" #include "sim_tasks.h"
#endif #endif
#ifdef HAVE_SDL #ifdef HAVE_SDL
#include "system-sdl.h" #include "system-sdl.h"
#endif #endif