# HG changeset patch # User reimar # Date 1200228458 0 # Node ID 33972bac0c168b06d28c1669be21d47b534b396f # Parent 908eab132111901e727868131777da8efedbf0db Make some pnm data const diff -r 908eab132111 -r 33972bac0c16 stream/pnm.c --- a/stream/pnm.c Sun Jan 13 12:40:21 2008 +0000 +++ b/stream/pnm.c Sun Jan 13 12:47:38 2008 +0000 @@ -195,13 +195,13 @@ 115200,262200,393216,524300,1544000,10485800}; #define PNM_TWENTYFOUR_SIZE 16 -static unsigned char pnm_twentyfour[]={ +static const unsigned char pnm_twentyfour[]={ 0xd5, 0x42, 0xa3, 0x1b, 0xef, 0x1f, 0x70, 0x24, 0x85, 0x29, 0xb3, 0x8d, 0xba, 0x11, 0xf3, 0xd6 }; /* now other data follows. marked with 0x0000 at the beginning */ static int after_chunks_length=6; -static unsigned char after_chunks[]={ +static const unsigned char after_chunks[]={ 0x00, 0x00, /* mark */ 0x50, 0x84, /* seems to be fixated */