]> diplodocus.org Git - nmh/blobdiff - sbr/check_charset.c
seq_del.c: Move interface to own file.
[nmh] / sbr / check_charset.c
index ee0dcc28447a8532eb36dbdef290f57ea66cf874..fcd8cc1c9ea4c47f94712612b2f3456dd374e6e2 100644 (file)
@@ -5,7 +5,7 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
 
 #include <string.h>
 #include <langinfo.h>
@@ -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)