forked from len0rd/rockbox
Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b131ac1fb
commit
c76c568b35
20 changed files with 48 additions and 45 deletions
|
|
@ -784,12 +784,12 @@ void lcd_invertpixel(int x, int y)
|
|||
INVERT_PIXEL(x,y);
|
||||
}
|
||||
|
||||
void lcd_puts_scroll(int x, int y, unsigned char *string)
|
||||
void lcd_puts_scroll(int x, int y, const unsigned char *string)
|
||||
{
|
||||
lcd_puts_scroll_style(x, y, string, STYLE_DEFAULT);
|
||||
}
|
||||
|
||||
void lcd_puts_scroll_style(int x, int y, unsigned char *string, int style)
|
||||
void lcd_puts_scroll_style(int x, int y, const unsigned char *string, int style)
|
||||
{
|
||||
struct scrollinfo* s;
|
||||
int w, h;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue