summaryrefslogtreecommitdiff
path: root/apps/plugins/chessclock.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
commit652657781805d9cc10d744a49fb23eb17019fbbf (patch)
tree2d1a6ae597a17531f726b57fd9f8cbaa2a46a07f /apps/plugins/chessclock.c
parenta94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff)
downloadrockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.gz
rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.zip
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessclock.c')
-rw-r--r--apps/plugins/chessclock.c4
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 */
227static struct plugin_api* rb; 227static const struct plugin_api* rb;
228MEM_FUNCTION_WRAPPERS(rb); 228MEM_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 */
260enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 260enum 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;