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
|
@ -26,7 +26,7 @@
|
|||
|
||||
/*** globals ***/
|
||||
|
||||
static struct plugin_api *pgfx_rb = NULL; /* global api struct pointer */
|
||||
static const struct plugin_api *pgfx_rb = NULL; /* global api struct pointer */
|
||||
static int char_width;
|
||||
static int char_height;
|
||||
static int pixel_height;
|
||||
|
@ -38,7 +38,7 @@ static int drawmode = DRMODE_SOLID;
|
|||
/*** Special functions ***/
|
||||
|
||||
/* library init */
|
||||
bool pgfx_init(struct plugin_api* newrb, int cwidth, int cheight)
|
||||
bool pgfx_init(const struct plugin_api* newrb, int cwidth, int cheight)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue