diff options
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r-- | apps/plugins/greyscale.c | 4 |
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 | ||
104 | GREY_INFO_STRUCT | 104 | GREY_INFO_STRUCT |
105 | static struct plugin_api* rb; /* global api struct pointer */ | 105 | static const struct plugin_api* rb; /* global api struct pointer */ |
106 | static char pbuf[32]; /* global printf buffer */ | 106 | static char pbuf[32]; /* global printf buffer */ |
107 | static unsigned char *gbuf; | 107 | static unsigned char *gbuf; |
108 | static size_t gbuf_size = 0; | 108 | static size_t gbuf_size = 0; |
@@ -361,7 +361,7 @@ int main(void) | |||
361 | 361 | ||
362 | /*************************** Plugin entry point ****************************/ | 362 | /*************************** Plugin entry point ****************************/ |
363 | 363 | ||
364 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 364 | enum 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; |