the “I found my first real bug” commit.
[apps/madmutt.git] / charset.h
index 482339b..bba1605 100644 (file)
--- a/charset.h
+++ b/charset.h
@@ -19,19 +19,18 @@ typedef void *iconv_t;
 #endif
 
 #ifndef HAVE_ICONV
-#define ICONV_CONST const
   iconv_t iconv_open (const char *, const char *);
-size_t iconv (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *);
+size_t iconv (iconv_t, const char **, size_t *, char **, size_t *);
 int iconv_close (iconv_t);
 #endif
 
 int mutt_convert_string (char **, const char *, const char *, int);
-char *mutt_get_first_charset (const char *);
+const char *mutt_get_first_charset (const char *);
 int mutt_convert_nonmime_string (char **);
 
 iconv_t mutt_iconv_open (const char *, const char *, int);
-size_t mutt_iconv (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *,
-                   ICONV_CONST char **, const char *);
+size_t mutt_iconv (iconv_t, const char **, size_t *, char **, size_t *,
+                   const char **, const char *);
 
 typedef void *FGETCONV;