]> diplodocus.org Git - nmh/blobdiff - sbr/check_charset.c
uip/mhcachesbr.c: Move exported symbols to existing h/mhcachesbr.h.
[nmh] / sbr / check_charset.c
index 4f2eeba..545aab4 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * check_charset.c -- routines for character sets
+/* check_charset.c -- routines for character sets
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
 
 #include <langinfo.h>
 
+/* Only get_charset() should use norm_charmap(), so hide its
+   declaration here. */
+char *norm_charmap(char *);
 
 /*
  * Get the current character set
  */
 char *
-get_charset ()
+get_charset(void)
 {
     return norm_charmap(nl_langinfo (CODESET));
 }