Browse Source

(utf8_convert): Changed prototype
(get_input_charset): Removed unused variable

Sergey Poznyakoff 21 years ago
parent
commit
a55ec0a319
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/utf8.c

+ 1 - 2
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;