]> diplodocus.org Git - nmh/commitdiff
Moved norm_charmap() declaration from h/prototypes.h to
authorDavid Levine <levinedl@acm.org>
Thu, 8 May 2014 02:14:45 +0000 (21:14 -0500)
committerDavid Levine <levinedl@acm.org>
Thu, 8 May 2014 02:14:45 +0000 (21:14 -0500)
sbr/check_charset.c.  That's the only place where it's used and
we want to keep it that way.

h/prototypes.h
sbr/check_charset.c

index 4e1aefe..00862d0 100644 (file)
@@ -274,7 +274,6 @@ char *mime_type(const char *filename);
  */
 void nmh_clear_screen(void);
 char *nmh_getpass(const char *);
-char *norm_charmap(char *);
 char *new_fs (char *, char *, char *);
 char *path(char *, int);
 int peekc(FILE *ib);
index 4f2eeba..cc93273 100644 (file)
@@ -11,6 +11,9 @@
 
 #include <langinfo.h>
 
+/* Only get_charset() should use norm_charmap(), so hide its
+   declaration here. */
+char *norm_charmap(char *);
 
 /*
  * Get the current character set