From: Sergey Poznyakoff Date: Sun, 4 Apr 2004 09:42:27 +0000 (+0000) Subject: (utf8_convert): Changed prototype X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a55ec0a3196f13d637f15c61bfe928ce83a5b5bc;p=chaz%2Ftar (utf8_convert): Changed prototype (get_input_charset): Removed unused variable --- diff --git a/src/utf8.c b/src/utf8.c index abb697d..dd5485c 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -243,7 +243,6 @@ get_input_charset () { const char *charset = NULL; char *tmp; - int rc; /* Try to deduce the charset from LC_ALL or LANG variables */ @@ -313,7 +312,7 @@ utf8_init (bool to_utf) } bool -utf8_convert(bool to_utf, char *input, char **output) +utf8_convert(bool to_utf, const char *input, char **output) { const char *ib; char *ob;