summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.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/wormlet.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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index f84fad9e4b..f862c1b345 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -417,7 +417,7 @@ static int player3_dir = EAST;
417static int players = 1; 417static int players = 1;
418 418
419/* the rockbox plugin api */ 419/* the rockbox plugin api */
420static struct plugin_api* rb; 420static const struct plugin_api* rb;
421 421
422#define SETTINGS_VERSION 1 422#define SETTINGS_VERSION 1
423#define SETTINGS_MIN_VERSION 1 423#define SETTINGS_MIN_VERSION 1
@@ -2444,7 +2444,7 @@ bool launch_wormlet(void)
2444/** 2444/**
2445 * Main entry point 2445 * Main entry point
2446 */ 2446 */
2447enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 2447enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
2448{ 2448{
2449 int result; 2449 int result;
2450 int menu_quit = 0; 2450 int menu_quit = 0;