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 d3e39e0..0235473 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -224,7 +224,7 @@ PLUGIN_HEADER /* here is a global api struct pointer. while not strictly necessary, it's nice not to have to pass the api pointer in all function calls in the plugin */ -static struct plugin_api* rb; +static const struct plugin_api* rb; MEM_FUNCTION_WRAPPERS(rb); #define MAX_PLAYERS 10 @@ -257,7 +257,7 @@ static bool pause; #define MAX_TIME 7200 /* this is the plugin entry point */ -enum plugin_status plugin_start(struct plugin_api* api, void* parameter) +enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { int i; bool done; |