diff options
Diffstat (limited to 'apps/plugins/robotfindskitten.c')
-rw-r--r-- | apps/plugins/robotfindskitten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/robotfindskitten.c b/apps/plugins/robotfindskitten.c index a2786b7e2d..a2208a30d5 100644 --- a/apps/plugins/robotfindskitten.c +++ b/apps/plugins/robotfindskitten.c | |||
@@ -180,7 +180,7 @@ int screen[X_MAX + 1][Y_MAX + 1]; | |||
180 | /* here is a global api struct pointer. while not strictly necessary, | 180 | /* here is a global api struct pointer. while not strictly necessary, |
181 | it's nice not to have to pass the api pointer in all function calls | 181 | it's nice not to have to pass the api pointer in all function calls |
182 | in the plugin */ | 182 | in the plugin */ |
183 | static struct plugin_api* rb; | 183 | static const struct plugin_api* rb; |
184 | 184 | ||
185 | /****************************************************************************** | 185 | /****************************************************************************** |
186 | * | 186 | * |
@@ -593,7 +593,7 @@ static void initialize_screen() | |||
593 | } | 593 | } |
594 | 594 | ||
595 | /* this is the plugin entry point */ | 595 | /* this is the plugin entry point */ |
596 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 596 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) |
597 | { | 597 | { |
598 | (void)parameter; | 598 | (void)parameter; |
599 | rb = api; | 599 | rb = api; |