1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

do_type_query: Make known_types[] const.

This commit is contained in:
Kalle Olavi Niemitalo 2007-02-04 15:32:35 +02:00 committed by Kalle Olavi Niemitalo
parent c62e9f9eae
commit a565365a8d

View File

@ -1265,7 +1265,7 @@ do_type_query(struct type_query *type_query, unsigned char *ct, struct mime_hand
struct {
unsigned char *type;
unsigned int plain:1;
} static known_types[] = {
} static const known_types[] = {
{ "text/html", 0 },
{ "text/plain", 1 },
{ "application/xhtml+xml", 0 }, /* RFC 3236 */