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
|
|
@ -36,7 +36,7 @@ PLUGIN_HEADER
|
|||
|
||||
/******************************* Globals ***********************************/
|
||||
|
||||
static struct plugin_api* rb; /* global api struct pointer */
|
||||
static const struct plugin_api* rb; /* global api struct pointer */
|
||||
static unsigned char wave_array[256]; /* Pre calculated wave array */
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
static fb_data colours[256]; /* Smooth transition of shades */
|
||||
|
|
@ -343,7 +343,7 @@ int main(void)
|
|||
|
||||
/*************************** Plugin entry point ****************************/
|
||||
|
||||
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