diff options
Diffstat (limited to 'apps/plugins/alpine_cdc.c')
-rw-r--r-- | apps/plugins/alpine_cdc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/alpine_cdc.c b/apps/plugins/alpine_cdc.c index 89fc8401ac..6f921e3af8 100644 --- a/apps/plugins/alpine_cdc.c +++ b/apps/plugins/alpine_cdc.c | |||
@@ -133,8 +133,8 @@ void sound_neutral(void); /* set to everything flat and 0 dB volume */ | |||
133 | void sound_normal(void); /* return to user settings */ | 133 | void sound_normal(void); /* return to user settings */ |
134 | 134 | ||
135 | void thread(void); /* the thread running it all */ | 135 | void thread(void); /* the thread running it all */ |
136 | int main(void* parameter); /* main loop */ | 136 | int main(const void* parameter); /* main loop */ |
137 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter); /* entry */ | 137 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter); /* entry */ |
138 | 138 | ||
139 | 139 | ||
140 | /****************** data types ******************/ | 140 | /****************** data types ******************/ |
@@ -207,7 +207,7 @@ struct | |||
207 | struct thread_entry *thread; /* worker thread id */ | 207 | struct thread_entry *thread; /* worker thread id */ |
208 | } gTread; | 208 | } gTread; |
209 | 209 | ||
210 | static struct plugin_api* rb; /* here is the global API struct pointer */ | 210 | static const struct plugin_api* rb; /* here is the global API struct pointer */ |
211 | 211 | ||
212 | 212 | ||
213 | /****************** implementation ******************/ | 213 | /****************** implementation ******************/ |
@@ -1133,7 +1133,7 @@ bool exit_tsr(bool reenter) | |||
1133 | /****************** main ******************/ | 1133 | /****************** main ******************/ |
1134 | 1134 | ||
1135 | 1135 | ||
1136 | int main(void* parameter) | 1136 | int main(const void* parameter) |
1137 | { | 1137 | { |
1138 | (void)parameter; | 1138 | (void)parameter; |
1139 | #ifdef DEBUG | 1139 | #ifdef DEBUG |
@@ -1189,7 +1189,7 @@ int main(void* parameter) | |||
1189 | /***************** Plugin Entry Point *****************/ | 1189 | /***************** Plugin Entry Point *****************/ |
1190 | 1190 | ||
1191 | 1191 | ||
1192 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 1192 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) |
1193 | { | 1193 | { |
1194 | rb = api; /* copy to global api pointer */ | 1194 | rb = api; /* copy to global api pointer */ |
1195 | 1195 | ||