diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-07-30 00:54:43 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-07-30 00:54:43 +0000 |
commit | 611b558d0ed1a212f328f83ec569d234cee4f72c (patch) | |
tree | e139b09332e26765f7e660f8ed514710c35ffcac /content | |
parent | 307ab6675f9a7129d645bb5c25b919d25e3ca8bd (diff) | |
download | netsurf-611b558d0ed1a212f328f83ec569d234cee4f72c.tar.gz netsurf-611b558d0ed1a212f328f83ec569d234cee4f72c.tar.bz2 |
Constify content_type_name & content_status_name
svn path=/trunk/netsurf/; revision=4815
Diffstat (limited to 'content')
-rw-r--r-- | content/content.c | 4 | ||||
-rw-r--r-- | content/content.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/content/content.c b/content/content.c index 63b7f7b26..e9bcf8c10 100644 --- a/content/content.c +++ b/content/content.c @@ -189,7 +189,7 @@ static const struct mime_entry mime_map[] = { }; #define MIME_MAP_COUNT (sizeof(mime_map) / sizeof(mime_map[0])) -const char *content_type_name[] = { +const char * const content_type_name[] = { "HTML", "TEXTPLAIN", "CSS", @@ -231,7 +231,7 @@ const char *content_type_name[] = { "UNKNOWN" }; -const char *content_status_name[] = { +const char * const content_status_name[] = { "TYPE_UNKNOWN", "LOADING", "READY", diff --git a/content/content.h b/content/content.h index a44d36782..2161a07f9 100644 --- a/content/content.h +++ b/content/content.h @@ -266,8 +266,8 @@ struct content { }; extern struct content *content_list; -extern const char *content_type_name[]; -extern const char *content_status_name[]; +extern const char * const content_type_name[]; +extern const char * const content_status_name[]; content_type content_lookup(const char *mime_type); |