From 898e63b1511bb343174bded1c6f392b711fb9ea3 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 7 May 2014 21:14:45 -0500 Subject: [PATCH] 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. --- h/prototypes.h | 1 - sbr/check_charset.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.56.0