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
|
@ -21,9 +21,9 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
static struct plugin_api *local_rb = NULL; /* global api struct pointer */
|
||||
static const struct plugin_api *local_rb = NULL; /* global api struct pointer */
|
||||
|
||||
void profile_init(struct plugin_api* pa)
|
||||
void profile_init(const struct plugin_api* pa)
|
||||
{
|
||||
local_rb = pa;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue