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:
parent
a94e40d515
commit
6526577818
159 changed files with 363 additions and 371 deletions
|
|
@ -507,7 +507,7 @@ extern const fb_data rockblox_background[];
|
|||
|
||||
|
||||
/* must have variable */
|
||||
static struct plugin_api *rb;
|
||||
static const struct plugin_api *rb;
|
||||
|
||||
static bool gameover = false;
|
||||
/* c=current f=figure o=orientation n=next */
|
||||
|
|
@ -1159,7 +1159,7 @@ static int rockblox_loop (void)
|
|||
return PLUGIN_OK;
|
||||
}
|
||||
|
||||
enum plugin_status plugin_start (struct plugin_api *api, void *parameter)
|
||||
enum plugin_status plugin_start (const struct plugin_api *api, const void *parameter)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue