X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ac1e36dc09f4092f4e9fa9ed66003bb585f790ed..9f1e781a5c2beb9df943c832300a3f5bee1e4ed3:/sbr/check_charset.c?ds=inline diff --git a/sbr/check_charset.c b/sbr/check_charset.c index ee0dcc28..fcd8cc1c 100644 --- a/sbr/check_charset.c +++ b/sbr/check_charset.c @@ -5,7 +5,7 @@ * complete copyright information. */ -#include +#include "h/mh.h" #include #include @@ -105,7 +105,8 @@ write_charset_8bit (void) * http://www.cl.cam.ac.uk/~mgk25/ucs/norm_charmap.c */ -static const char *norm_charmap(char *name) +static const char * +norm_charmap(char *name) { static const char *correct[] = { "UTF-8", @@ -128,7 +129,7 @@ static const char *norm_charmap(char *name) /* Names for ISO-8859-11. */ { "TIS-620", "ISO-8859-11" }, { "TIS620.2533", "ISO-8859-11" }, - { NULL } + { NULL, NULL } }; static struct { const char *substr; @@ -161,7 +162,7 @@ static const char *norm_charmap(char *name) { "CP1256", "WINDOWS-1256" }, { "CP1257", "WINDOWS-1257" }, { "CP1258", "WINDOWS-1258" }, - { NULL } + { NULL, NULL } }; if (!name)