summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sudoku/sudoku.c')
-rw-r--r--apps/plugins/sudoku/sudoku.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c
index d76b68ef27..64a6c8d7c9 100644
--- a/apps/plugins/sudoku/sudoku.c
+++ b/apps/plugins/sudoku/sudoku.c
@@ -80,7 +80,7 @@ PLUGIN_HEADER
80 it's nice not to have to pass the api pointer in all function calls 80 it's nice not to have to pass the api pointer in all function calls
81 in the plugin */ 81 in the plugin */
82 82
83struct plugin_api* rb; 83const struct plugin_api* rb;
84 84
85/* Default game - used to initialise sudoku.ss if it doesn't exist. */ 85/* Default game - used to initialise sudoku.ss if it doesn't exist. */
86static const char default_game[9][9] = 86static const char default_game[9][9] =
@@ -1188,7 +1188,7 @@ void move_cursor(struct sudoku_state_t* state, int newx, int newy)
1188} 1188}
1189 1189
1190/* plugin entry point */ 1190/* plugin entry point */
1191enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 1191enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
1192{ 1192{
1193 bool exit; 1193 bool exit;
1194 int button; 1194 int button;