diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-08-01 21:50:57 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-01 21:50:57 +0000 |
| commit | abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104 (patch) | |
| tree | d6ea7f30e04c644693dc50f9b112a5d2cbc0cd41 /apps/misc.c | |
| parent | 27a4b60f1a0cd2bfef48f59acf236081fd3b787e (diff) | |
| download | rockbox-abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104.zip rockbox-abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104.tar.gz rockbox-abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104.tar.bz2 rockbox-abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104.tar.xz | |
More const policeing step 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.c')
| -rw-r--r-- | apps/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c index 2ee6627..582901f 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -114,7 +114,7 @@ int main(int argc, char **argv) #ifdef HAVE_LCD_BITMAP extern unsigned char lcd_framebuffer[LCD_HEIGHT/8][LCD_WIDTH]; -static unsigned char bmpheader[] = +static const unsigned char bmpheader[] = { 0x42, 0x4d, 0x3e, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x40, 0x00, @@ -126,7 +126,7 @@ static unsigned char bmpheader[] = static unsigned char buf[112*8]; static unsigned char buf2[112*8]; -static char dummy[2] = {0, 0}; +static const char dummy[2] = {0, 0}; void screen_dump(void) { |