1
0
Fork 0
forked from len0rd/rockbox

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:
Steve Bavin 2008-05-13 09:57:56 +00:00
parent a94e40d515
commit 6526577818
159 changed files with 363 additions and 371 deletions

View file

@ -27,7 +27,7 @@
#include "plugin.h"
#include "oldmenuapi.h"
struct plugin_api *rb = NULL;
const struct plugin_api *rb = NULL;
struct menu {
struct menu_item* items;
@ -65,7 +65,7 @@ static int menu_find_free(void)
return(i);
}
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)
{