summaryrefslogtreecommitdiff
path: root/apps/plugins/nim.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/nim.c')
-rw-r--r--apps/plugins/nim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/nim.c b/apps/plugins/nim.c
index b13cfe415b..ae3297d458 100644
--- a/apps/plugins/nim.c
+++ b/apps/plugins/nim.c
@@ -59,7 +59,7 @@ static unsigned char str[12]; /*String use to display the first line*/
59static unsigned long hsmile,hcry,h1,h2; /*Handle for the new pattern*/ 59static unsigned long hsmile,hcry,h1,h2; /*Handle for the new pattern*/
60 60
61static bool end; /*If true game is finished*/ 61static bool end; /*If true game is finished*/
62static struct plugin_api* rb; 62static const struct plugin_api* rb;
63 63
64 64
65/*Display that the action it's impossible*/ 65/*Display that the action it's impossible*/
@@ -138,7 +138,7 @@ static void nim_exit(void *parameter)
138} 138}
139 139
140/* this is the plugin entry point */ 140/* this is the plugin entry point */
141enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 141enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
142{ 142{
143 int y,z,button; 143 int y,z,button;
144 int x,v,min; 144 int x,v,min;