diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:45:03 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:45:03 +0000 |
commit | c84e345e6e2d17ce95ee703d98760e005a3a0f7d (patch) | |
tree | 1df900f48416c5f95854f3aaa785cbc0d5f762a5 | |
parent | 68a21689aef3a81335456476d4d10860ef5bc6b3 (diff) | |
download | rockbox-c84e345e6e2d17ce95ee703d98760e005a3a0f7d.tar.gz rockbox-c84e345e6e2d17ce95ee703d98760e005a3a0f7d.zip |
Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16776 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 2 | ||||
-rw-r--r-- | uisimulator/common/lcd-common.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 15a7e9127f..aa6b65a34a 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -74,7 +74,6 @@ static const struct plugin_api rockbox_api = { /* lcd */ lcd_set_contrast, lcd_update, - lcd_update_rect, lcd_clear_display, lcd_setmargins, lcd_getstringsize, @@ -93,6 +92,7 @@ static const struct plugin_api rockbox_api = { lcd_double_height, #else &lcd_framebuffer[0][0], + lcd_update_rect, lcd_set_drawmode, lcd_get_drawmode, lcd_setfont, diff --git a/apps/plugin.h b/apps/plugin.h index 30c04ce76c..1563ed3aec 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -144,7 +144,6 @@ struct plugin_api { /* lcd */ void (*lcd_set_contrast)(int x); void (*lcd_update)(void); - void (*lcd_update_rect)(int x, int y, int width, int height); void (*lcd_clear_display)(void); void (*lcd_setmargins)(int x, int y); int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); @@ -163,6 +162,7 @@ struct plugin_api { void (*lcd_double_height)(bool on); #else /* HAVE_LCD_BITMAP */ fb_data* lcd_framebuffer; + void (*lcd_update_rect)(int x, int y, int width, int height); void (*lcd_set_drawmode)(int mode); int (*lcd_get_drawmode)(void); void (*lcd_setfont)(int font); diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c index 51c8215da1..eaadb20489 100644 --- a/uisimulator/common/lcd-common.c +++ b/uisimulator/common/lcd-common.c @@ -27,7 +27,7 @@ void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height, int stride) { - (void)p_data; + (void)data; (void)x; (void)y; (void)width; |