mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04: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
|
@ -31,7 +31,7 @@ struct menu_item {
|
|||
bool (*function) (void); /* return true if USB was connected */
|
||||
};
|
||||
|
||||
int menu_init(struct plugin_api *api, const struct menu_item* mitems,
|
||||
int menu_init(const struct plugin_api *api, const struct menu_item* mitems,
|
||||
int count, int (*callback)(int, int),
|
||||
const char *button1, const char *button2, const char *button3);
|
||||
void menu_exit(int menu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue