commit | 629f80558ba1e82b0317a3d778deaf195c8e37e5 | [log] [tgz] |
---|---|---|
author | Cristy <urban-warrior@imagemagick.org> | Mon Sep 14 07:48:08 2015 -0400 |
committer | Cristy <urban-warrior@imagemagick.org> | Mon Sep 14 07:48:08 2015 -0400 |
tree | 8dde744daebe7313c3bee632740a83e0442a94de | |
parent | 01bc6571c98173804b389ddcdb05bb17f739ea02 [diff] [blame] |
Make some structures immutable
diff --git a/coders/meta.c b/coders/meta.c index 8dd5913..971dbba 100644 --- a/coders/meta.c +++ b/coders/meta.c
@@ -143,14 +143,15 @@ typedef struct _html_code { - short + const short len; + const char *code, val; } html_code; -static html_code html_codes[] = { +static const html_code html_codes[] = { #ifdef HANDLE_GT_LT { 4,"<",'<' }, { 4,">",'>' }, @@ -1757,7 +1758,7 @@ typedef struct _tag_spec { - short + const short id; const char