mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a94e40d515
commit
6526577818
159 changed files with 363 additions and 371 deletions
|
|
@ -125,7 +125,7 @@ Still To do:
|
|||
#endif
|
||||
#endif
|
||||
|
||||
static struct plugin_api* rb;
|
||||
static const struct plugin_api* rb;
|
||||
|
||||
#define NUMBER_OF_BLOCKS 8
|
||||
#define NUMBER_OF_PARTICLES 3
|
||||
|
|
@ -979,7 +979,7 @@ void chopper_load(bool newgame)
|
|||
}
|
||||
|
||||
/* this is the 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)
|
||||
{
|
||||
(void)parameter;
|
||||
rb = api;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue