diff options
| author | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 09:57:56 +0000 |
|---|---|---|
| committer | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 09:57:56 +0000 |
| commit | 652657781805d9cc10d744a49fb23eb17019fbbf (patch) | |
| tree | 2d1a6ae597a17531f726b57fd9f8cbaa2a46a07f /apps/plugins/lib/playergfx.c | |
| parent | a94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff) | |
| download | rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.zip rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.gz rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.bz2 rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.xz | |
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/playergfx.c')
| -rw-r--r-- | apps/plugins/lib/playergfx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/playergfx.c b/apps/plugins/lib/playergfx.c index 8853078..4139a6c 100644 --- a/apps/plugins/lib/playergfx.c +++ b/apps/plugins/lib/playergfx.c @@ -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; |