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
This commit is contained in:
Thomas Martitz 2010-08-24 15:01:33 +00:00
parent cae4ae2c71
commit 5d206d5f30
3 changed files with 3 additions and 8 deletions

View file

@ -20,6 +20,7 @@
****************************************************************************/ ****************************************************************************/
#include "plugin.h" #include "plugin.h"
#include "lib/configfile.h" #include "lib/configfile.h"
#include "lib/pluginlib_exit.h"
#ifdef HAVE_LCD_CHARCELLS #ifdef HAVE_LCD_CHARCELLS

View file

@ -20,14 +20,9 @@
****************************************************************************/ ****************************************************************************/
#include "plugin.h" #include "plugin.h"
#if PLUGIN_BUFFER_SIZE < 0x10000 && (CONFIG_PLATFORM & PLATFORM_NATIVE)
#include "lib/overlay.h" #include "lib/overlay.h"
enum plugin_status plugin_start(const void* parameter) enum plugin_status plugin_start(const void* parameter)
{ {
return run_overlay(parameter, PLUGIN_GAMES_DIR "/goban.ovl", "Goban"); return run_overlay(parameter, PLUGIN_GAMES_DIR "/goban.ovl", "Goban");
} }
#endif

View file

@ -19,6 +19,7 @@
* *
****************************************************************************/ ****************************************************************************/
#include "plugin.h" #include "plugin.h"
#include "lib/pluginlib_exit.h"
#ifdef HAVE_LCD_CHARCELLS #ifdef HAVE_LCD_CHARCELLS
@ -122,10 +123,8 @@ static void display_first_line(int x)
} }
/* Call when the program end */ /* Call when the program end */
static void nim_exit(void *parameter) static void nim_exit(void)
{ {
(void)parameter;
/*Restore the old pattern*/ /*Restore the old pattern*/
rb->lcd_unlock_pattern(h1); rb->lcd_unlock_pattern(h1);
rb->lcd_unlock_pattern(h2); rb->lcd_unlock_pattern(h2);