diff options
Diffstat (limited to 'apps/plugins/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index d3e39e04ad..0235473438 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c | |||
@@ -224,7 +224,7 @@ PLUGIN_HEADER | |||
224 | /* here is a global api struct pointer. while not strictly necessary, | 224 | /* here is a global api struct pointer. while not strictly necessary, |
225 | it's nice not to have to pass the api pointer in all function calls | 225 | it's nice not to have to pass the api pointer in all function calls |
226 | in the plugin */ | 226 | in the plugin */ |
227 | static struct plugin_api* rb; | 227 | static const struct plugin_api* rb; |
228 | MEM_FUNCTION_WRAPPERS(rb); | 228 | MEM_FUNCTION_WRAPPERS(rb); |
229 | #define MAX_PLAYERS 10 | 229 | #define MAX_PLAYERS 10 |
230 | 230 | ||
@@ -257,7 +257,7 @@ static bool pause; | |||
257 | #define MAX_TIME 7200 | 257 | #define MAX_TIME 7200 |
258 | 258 | ||
259 | /* this is the plugin entry point */ | 259 | /* this is the plugin entry point */ |
260 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 260 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) |
261 | { | 261 | { |
262 | int i; | 262 | int i; |
263 | bool done; | 263 | bool done; |