From abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 1 Aug 2004 21:50:57 +0000 Subject: More const policeing step 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/misc.c') 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) { -- cgit v1.1