summaryrefslogtreecommitdiff
path: root/apps/plugins/stopwatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/stopwatch.c')
-rw-r--r--apps/plugins/stopwatch.c4
1 files changed, 2 insertions, 2 deletions
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
171#endif 171#endif
172#endif 172#endif
173 173
174static struct plugin_api* rb; 174static const struct plugin_api* rb;
175 175
176static int stopwatch = 0; 176static int stopwatch = 0;
177static long start_at = 0; 177static long start_at = 0;
@@ -228,7 +228,7 @@ static void ticks_to_string(int ticks,int lap,int buflen, char * buf)
228 } 228 }
229} 229}
230 230
231enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 231enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
232{ 232{
233 char buf[32]; 233 char buf[32];
234 int button; 234 int button;