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 = { | |||
74 | /* lcd */ | 74 | /* lcd */ |
75 | lcd_set_contrast, | 75 | lcd_set_contrast, |
76 | lcd_update, | 76 | lcd_update, |
77 | lcd_update_rect, | ||
78 | lcd_clear_display, | 77 | lcd_clear_display, |
79 | lcd_setmargins, | 78 | lcd_setmargins, |
80 | lcd_getstringsize, | 79 | lcd_getstringsize, |
@@ -93,6 +92,7 @@ static const struct plugin_api rockbox_api = { | |||
93 | lcd_double_height, | 92 | lcd_double_height, |
94 | #else | 93 | #else |
95 | &lcd_framebuffer[0][0], | 94 | &lcd_framebuffer[0][0], |
95 | lcd_update_rect, | ||
96 | lcd_set_drawmode, | 96 | lcd_set_drawmode, |
97 | lcd_get_drawmode, | 97 | lcd_get_drawmode, |
98 | lcd_setfont, | 98 | 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 { | |||
144 | /* lcd */ | 144 | /* lcd */ |
145 | void (*lcd_set_contrast)(int x); | 145 | void (*lcd_set_contrast)(int x); |
146 | void (*lcd_update)(void); | 146 | void (*lcd_update)(void); |
147 | void (*lcd_update_rect)(int x, int y, int width, int height); | ||
148 | void (*lcd_clear_display)(void); | 147 | void (*lcd_clear_display)(void); |
149 | void (*lcd_setmargins)(int x, int y); | 148 | void (*lcd_setmargins)(int x, int y); |
150 | int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); | 149 | int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h); |
@@ -163,6 +162,7 @@ struct plugin_api { | |||
163 | void (*lcd_double_height)(bool on); | 162 | void (*lcd_double_height)(bool on); |
164 | #else /* HAVE_LCD_BITMAP */ | 163 | #else /* HAVE_LCD_BITMAP */ |
165 | fb_data* lcd_framebuffer; | 164 | fb_data* lcd_framebuffer; |
165 | void (*lcd_update_rect)(int x, int y, int width, int height); | ||
166 | void (*lcd_set_drawmode)(int mode); | 166 | void (*lcd_set_drawmode)(int mode); |
167 | int (*lcd_get_drawmode)(void); | 167 | int (*lcd_get_drawmode)(void); |
168 | void (*lcd_setfont)(int font); | 168 | 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 @@ | |||
27 | void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height, | 27 | void lcd_blit_mono(const unsigned char *data, int x, int y, int width, int height, |
28 | int stride) | 28 | int stride) |
29 | { | 29 | { |
30 | (void)p_data; | 30 | (void)data; |
31 | (void)x; | 31 | (void)x; |
32 | (void)y; | 32 | (void)y; |
33 | (void)width; | 33 | (void)width; |