mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -27,12 +27,12 @@
|
|||
|
||||
/*** globals ***/
|
||||
|
||||
struct plugin_api *_xlcd_rb = NULL; /* global api struct pointer */
|
||||
const struct plugin_api *_xlcd_rb = NULL; /* global api struct pointer */
|
||||
|
||||
/*** functions ***/
|
||||
|
||||
/* library init */
|
||||
void xlcd_init(struct plugin_api* newrb)
|
||||
void xlcd_init(const struct plugin_api* newrb)
|
||||
{
|
||||
_xlcd_rb = newrb;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue