diff options
Diffstat (limited to 'apps/plugins/sudoku/sudoku.c')
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 4 |
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 | ||
83 | struct plugin_api* rb; | 83 | const 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. */ |
86 | static const char default_game[9][9] = | 86 | static 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 */ |
1191 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 1191 | enum 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; |