summaryrefslogtreecommitdiff
path: root/apps/plugins/sokoban.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r--apps/plugins/sokoban.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index 2b12a3da58..bc5bf42e8d 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -372,7 +372,7 @@ static struct BufferedBoards {
372} buffered_boards; 372} buffered_boards;
373 373
374 374
375static struct plugin_api* rb; 375static const struct plugin_api* rb;
376MEM_FUNCTION_WRAPPERS(rb); 376MEM_FUNCTION_WRAPPERS(rb);
377 377
378static char buf[ROWS*(COLS + 1)]; /* Enough for a whole board or a filename */ 378static char buf[ROWS*(COLS + 1)]; /* Enough for a whole board or a filename */
@@ -1576,7 +1576,7 @@ static bool sokoban_loop(void)
1576} 1576}
1577 1577
1578 1578
1579enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 1579enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
1580{ 1580{
1581 int w, h; 1581 int w, h;
1582 1582