diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-06 23:49:29 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-06 23:49:29 +0000 |
commit | 71bc504e5f7c56e547aae23813e5f62267d2972f (patch) | |
tree | a2f526b80dfb6c18109274db5b61ca51c46e1a2c /firmware/drivers/lcd-recorder.c | |
parent | a0abff4bd53c5839276e984421b241cfed4db7c3 (diff) |
The const police strikes and hits itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 53640ce649..7e064b8001 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c @@ -391,7 +391,7 @@ static void nopixel(int x, int y) (void)y; } -lcd_pixelfunc_type* lcd_pixelfuncs[8] = { +lcd_pixelfunc_type* const lcd_pixelfuncs[8] = { flippixel, nopixel, setpixel, setpixel, nopixel, clearpixel, nopixel, clearpixel }; @@ -452,7 +452,7 @@ static void solidinvblock(unsigned char *address, unsigned mask, unsigned bits) *address = (*address & ~mask) | (~bits & mask); } -lcd_blockfunc_type* lcd_blockfuncs[8] = { +lcd_blockfunc_type* const lcd_blockfuncs[8] = { flipblock, bgblock, fgblock, solidblock, flipinvblock, bginvblock, fginvblock, solidinvblock }; |