summaryrefslogtreecommitdiff
path: root/apps/plugins/iriver_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r--apps/plugins/iriver_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c
index d9ea73b622..af002acb2f 100644
--- a/apps/plugins/iriver_flash.c
+++ b/apps/plugins/iriver_flash.c
@@ -54,7 +54,7 @@ struct flash_info
54 char name[32]; 54 char name[32];
55}; 55};
56 56
57static struct plugin_api* rb; /* here is a global api struct pointer */ 57static const struct plugin_api* rb; /* here is a global api struct pointer */
58 58
59#ifdef IRIVER_H100_SERIES 59#ifdef IRIVER_H100_SERIES
60#define SEC_SIZE 4096 60#define SEC_SIZE 4096
@@ -802,7 +802,7 @@ void DoUserDialog(char* filename)
802 802
803/***************** Plugin Entry Point *****************/ 803/***************** Plugin Entry Point *****************/
804 804
805enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 805enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
806{ 806{
807 int oldmode; 807 int oldmode;
808 808