diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-25 17:07:56 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-25 17:07:56 +0000 |
commit | 4e8ef935097cc0571e0eb6e34071753dbb763cfc (patch) | |
tree | 7eb849bf6729b639107af6622ad640ad79bfad92 | |
parent | c853097c2a43ac25bf4ffc31b8bbca08735fed85 (diff) | |
download | rockbox-4e8ef935097cc0571e0eb6e34071753dbb763cfc.tar.gz rockbox-4e8ef935097cc0571e0eb6e34071753dbb763cfc.zip |
Rockbox as an application: Fix a few yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27558 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/debug_menu.c | 6 | ||||
-rw-r--r-- | apps/main.c | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index ec30477698..ca06907618 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -460,7 +460,7 @@ static bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device, | |||
460 | } | 460 | } |
461 | #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ | 461 | #endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ |
462 | 462 | ||
463 | #ifndef SIMULATOR | 463 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
464 | #ifdef CPU_PP | 464 | #ifdef CPU_PP |
465 | static int perfcheck(void) | 465 | static int perfcheck(void) |
466 | { | 466 | { |
@@ -663,7 +663,7 @@ static bool dbg_hw_info(void) | |||
663 | 663 | ||
664 | while (!(action_userabort(TIMEOUT_BLOCK))); | 664 | while (!(action_userabort(TIMEOUT_BLOCK))); |
665 | 665 | ||
666 | #elif (CONFIG_PLATFORM & PLATFORM_NATIVE) | 666 | #else |
667 | /* Define this function in your target tree */ | 667 | /* Define this function in your target tree */ |
668 | return __dbg_hw_info(); | 668 | return __dbg_hw_info(); |
669 | #endif /* CONFIG_CPU */ | 669 | #endif /* CONFIG_CPU */ |
@@ -756,7 +756,7 @@ static bool dbg_hw_info(void) | |||
756 | return false; | 756 | return false; |
757 | } | 757 | } |
758 | #endif /* !HAVE_LCD_BITMAP */ | 758 | #endif /* !HAVE_LCD_BITMAP */ |
759 | #endif /* !SIMULATOR */ | 759 | #endif /* PLATFORM_NATIVE */ |
760 | 760 | ||
761 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 761 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
762 | static const char* dbg_partitions_getname(int selected_item, void *data, | 762 | static const char* dbg_partitions_getname(int selected_item, void *data, |
diff --git a/apps/main.c b/apps/main.c index b3252d8bd8..f1f30ce2b5 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -112,9 +112,10 @@ | |||
112 | #include "m5636.h" | 112 | #include "m5636.h" |
113 | #endif | 113 | #endif |
114 | 114 | ||
115 | #ifdef SIMULATOR | 115 | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) |
116 | #include "sim_tasks.h" | 116 | #include "sim_tasks.h" |
117 | #endif | 117 | #endif |
118 | |||
118 | #ifdef HAVE_SDL | 119 | #ifdef HAVE_SDL |
119 | #include "system-sdl.h" | 120 | #include "system-sdl.h" |
120 | #endif | 121 | #endif |