From: David Levine Date: Thu, 8 May 2014 02:14:45 +0000 (-0500) Subject: Moved norm_charmap() declaration from h/prototypes.h to X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/898e63b1511bb343174bded1c6f392b711fb9ea3?ds=sidebyside Moved norm_charmap() declaration from h/prototypes.h to sbr/check_charset.c. That's the only place where it's used and we want to keep it that way. --- diff --git a/h/prototypes.h b/h/prototypes.h index 4e1aefea..00862d09 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -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); diff --git a/sbr/check_charset.c b/sbr/check_charset.c index 4f2eeba9..cc93273f 100644 --- a/sbr/check_charset.c +++ b/sbr/check_charset.c @@ -11,6 +11,9 @@ #include +/* Only get_charset() should use norm_charmap(), so hide its + declaration here. */ +char *norm_charmap(char *); /* * Get the current character set