1
0
Fork 0
forked from len0rd/rockbox

The const police strikes and hits itself.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-11-06 23:49:29 +00:00
parent a0abff4bd5
commit 71bc504e5f
4 changed files with 8 additions and 8 deletions

View file

@ -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
};