summaryrefslogtreecommitdiff
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r--apps/plugins/greyscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c
index 17449b9f62..cffa8f1940 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -102,7 +102,7 @@ PLUGIN_HEADER
102/******************************* Globals ***********************************/ 102/******************************* Globals ***********************************/
103 103
104GREY_INFO_STRUCT 104GREY_INFO_STRUCT
105static struct plugin_api* rb; /* global api struct pointer */ 105static const struct plugin_api* rb; /* global api struct pointer */
106static char pbuf[32]; /* global printf buffer */ 106static char pbuf[32]; /* global printf buffer */
107static unsigned char *gbuf; 107static unsigned char *gbuf;
108static size_t gbuf_size = 0; 108static size_t gbuf_size = 0;
@@ -361,7 +361,7 @@ int main(void)
361 361
362/*************************** Plugin entry point ****************************/ 362/*************************** Plugin entry point ****************************/
363 363
364enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 364enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
365{ 365{
366 rb = api; /* copy to global api pointer */ 366 rb = api; /* copy to global api pointer */
367 (void)parameter; 367 (void)parameter;