.
[gnulib.git] / lib / unicodeio.c
index a846bb0..2d11db2 100644 (file)
@@ -121,7 +121,7 @@ print_unicode_char (FILE *stream, unsigned int code)
 
   if (!initialized)
     {
-      extern const char *locale_charset (void);
+      extern const char *locale_charset PARAMS ((void));
       const char *charset = locale_charset ();
 
       is_utf8 = (charset != NULL && !strcmp (charset, UTF8_NAME));
@@ -158,7 +158,7 @@ print_unicode_char (FILE *stream, unsigned int code)
     {
 #if HAVE_ICONV
       char outbuf[25];
-      const char *inptr;
+      char *inptr;
       size_t inbytesleft;
       char *outptr;
       size_t outbytesleft;