summaryrefslogtreecommitdiff
path: root/apps/plugins/helloworld.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/helloworld.c')
-rw-r--r--apps/plugins/helloworld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/helloworld.c b/apps/plugins/helloworld.c
index eca9d2e85a..ebad484d9c 100644
--- a/apps/plugins/helloworld.c
+++ b/apps/plugins/helloworld.c
@@ -27,10 +27,10 @@ PLUGIN_HEADER
27/* here is a global api struct pointer. while not strictly necessary, 27/* here is a global api struct pointer. while not strictly necessary,
28 it's nice not to have to pass the api pointer in all function calls 28 it's nice not to have to pass the api pointer in all function calls
29 in the plugin */ 29 in the plugin */
30static struct plugin_api* rb; 30static const struct plugin_api* rb;
31 31
32/* this is the plugin entry point */ 32/* this is the plugin entry point */
33enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 33enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
34{ 34{
35 /* if you don't use the parameter, you can do like 35 /* if you don't use the parameter, you can do like
36 this to avoid the compiler warning about it */ 36 this to avoid the compiler warning about it */