changeset 25695:33972bac0c16

Make some pnm data const
author reimar
date Sun, 13 Jan 2008 12:47:38 +0000
parents 908eab132111
children f159db1e77db
files stream/pnm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */