summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/euroconverter.c1
-rw-r--r--apps/plugins/goban.c5
-rw-r--r--apps/plugins/nim.c5
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
29enum plugin_status plugin_start(const void* parameter) 25enum 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 */
125static void nim_exit(void *parameter) 126static 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);