diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-24 15:01:33 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-24 15:01:33 +0000 |
commit | 5d206d5f3078b4776226436e6e11e838b708015b (patch) | |
tree | 8a547199971ab5c89617eff95a59cfc06ec4ea52 | |
parent | cae4ae2c71ae10ff67d39a78a705136e740dc07e (diff) | |
download | rockbox-5d206d5f3078b4776226436e6e11e838b708015b.tar.gz rockbox-5d206d5f3078b4776226436e6e11e838b708015b.zip |
Fix yellows/reds. Red where caused by preprocessor condition mismatch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27874 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/euroconverter.c | 1 | ||||
-rw-r--r-- | apps/plugins/goban.c | 5 | ||||
-rw-r--r-- | apps/plugins/nim.c | 5 |
3 files changed, 3 insertions, 8 deletions
diff --git a/apps/plugins/euroconverter.c b/apps/plugins/euroconverter.c index 24cebe69d1..08dc377368 100644 --- a/apps/plugins/euroconverter.c +++ b/apps/plugins/euroconverter.c | |||
@@ -20,6 +20,7 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "lib/configfile.h" | 22 | #include "lib/configfile.h" |
23 | #include "lib/pluginlib_exit.h" | ||
23 | 24 | ||
24 | #ifdef HAVE_LCD_CHARCELLS | 25 | #ifdef HAVE_LCD_CHARCELLS |
25 | 26 | ||
diff --git a/apps/plugins/goban.c b/apps/plugins/goban.c index 1a121202c6..5ad7b37327 100644 --- a/apps/plugins/goban.c +++ b/apps/plugins/goban.c | |||
@@ -20,14 +20,9 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | 22 | ||
23 | #if PLUGIN_BUFFER_SIZE < 0x10000 && (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
24 | |||
25 | #include "lib/overlay.h" | 23 | #include "lib/overlay.h" |
26 | 24 | ||
27 | |||
28 | |||
29 | enum plugin_status plugin_start(const void* parameter) | 25 | enum plugin_status plugin_start(const void* parameter) |
30 | { | 26 | { |
31 | return run_overlay(parameter, PLUGIN_GAMES_DIR "/goban.ovl", "Goban"); | 27 | return run_overlay(parameter, PLUGIN_GAMES_DIR "/goban.ovl", "Goban"); |
32 | } | 28 | } |
33 | #endif | ||
diff --git a/apps/plugins/nim.c b/apps/plugins/nim.c index 3301277410..07e41ffe3e 100644 --- a/apps/plugins/nim.c +++ b/apps/plugins/nim.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | #include "lib/pluginlib_exit.h" | ||
22 | 23 | ||
23 | #ifdef HAVE_LCD_CHARCELLS | 24 | #ifdef HAVE_LCD_CHARCELLS |
24 | 25 | ||
@@ -122,10 +123,8 @@ static void display_first_line(int x) | |||
122 | } | 123 | } |
123 | 124 | ||
124 | /* Call when the program end */ | 125 | /* Call when the program end */ |
125 | static void nim_exit(void *parameter) | 126 | static void nim_exit(void) |
126 | { | 127 | { |
127 | (void)parameter; | ||
128 | |||
129 | /*Restore the old pattern*/ | 128 | /*Restore the old pattern*/ |
130 | rb->lcd_unlock_pattern(h1); | 129 | rb->lcd_unlock_pattern(h1); |
131 | rb->lcd_unlock_pattern(h2); | 130 | rb->lcd_unlock_pattern(h2); |