From 652657781805d9cc10d744a49fb23eb17019fbbf Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Tue, 13 May 2008 09:57:56 +0000 Subject: Plugin parameters should be const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/stopwatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/stopwatch.c') diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index 18ad1c48cb..ece19b1e82 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -171,7 +171,7 @@ PLUGIN_HEADER #endif #endif -static struct plugin_api* rb; +static const struct plugin_api* rb; static int stopwatch = 0; static long start_at = 0; @@ -228,7 +228,7 @@ static void ticks_to_string(int ticks,int lap,int buflen, char * buf) } } -enum plugin_status plugin_start(struct plugin_api* api, void* parameter) +enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { char buf[32]; int button; -- cgit v1.2.3