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/firmware_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/firmware_flash.c') diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index f4daab2fcd..6cbb252cd1 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c @@ -126,7 +126,7 @@ typedef struct char name[32]; } tFlashInfo; -static struct plugin_api* rb; /* here is a global api struct pointer */ +static const struct plugin_api* rb; /* here is a global api struct pointer */ #define MASK_ADR 0xFC /* position of hardware mask value in Flash */ #define VERSION_ADR 0xFE /* position of firmware version value in Flash */ @@ -1072,7 +1072,7 @@ void DoUserDialog(char* filename) /***************** Plugin Entry Point *****************/ -enum plugin_status plugin_start(struct plugin_api* api, void* parameter) +enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { int oldmode; -- cgit v1.2.3