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
|
@ -97,7 +97,7 @@ unsigned char SCALE_BMP[][13] =
|
|||
#define SE_COUNT 5
|
||||
|
||||
/* the global api pointer */
|
||||
static struct plugin_api* rb;
|
||||
static const struct plugin_api* rb;
|
||||
|
||||
/* contains the file name of the song that is to be split */
|
||||
static char path_mp3[MAX_PATH];
|
||||
|
@ -1248,7 +1248,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split,
|
|||
return retval;
|
||||
}
|
||||
|
||||
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
|
||||
{
|
||||
struct mp3entry* mp3;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue