1
0
Fork 0
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:
Steve Bavin 2008-05-13 09:57:56 +00:00
parent a94e40d515
commit 6526577818
159 changed files with 363 additions and 371 deletions

View file

@ -273,7 +273,7 @@ PLUGIN_HEADER
#define MYXLCD(fn) xlcd_ ## fn
#endif
static struct plugin_api* rb;
static const struct plugin_api* rb;
/* Fixed point format s5.26: sign, 5 bits integer part, 26 bits fractional part */
static long x_min;
@ -661,7 +661,7 @@ void cleanup(void *parameter)
#define REDRAW_PARTIAL 1
#define REDRAW_FULL 2
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 button;
int lastbutton = BUTTON_NONE;