From: Matthias Andree Date: Thu, 23 Jul 2009 21:51:30 +0000 (+0200) Subject: Use proper prototype for mutt_get_default_charset(), fix fallout. X-Git-Tag: mutt-1-5-21-rel~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c3e73cb1886a640c3aab29453a00983eb689634;p=mutt Use proper prototype for mutt_get_default_charset(), fix fallout. --- diff --git a/charset.h b/charset.h index 703d30dd..e52ce383 100644 --- a/charset.h +++ b/charset.h @@ -47,7 +47,7 @@ char * fgetconvs (char *, size_t, FGETCONV *); void fgetconv_close (FGETCONV **); void mutt_set_langinfo_charset (void); -char *mutt_get_default_charset (); +char *mutt_get_default_charset (void); /* flags for charset.c:mutt_convert_string(), fgetconv_open(), and * mutt_iconv_open(). Note that applying charset-hooks to tocode is diff --git a/rfc2047.c b/rfc2047.c index 2bd433b0..65528a9b 100644 --- a/rfc2047.c +++ b/rfc2047.c @@ -119,7 +119,7 @@ int convert_nonmime_string (char **ps) } } mutt_convert_string (ps, - (const char *)mutt_get_default_charset (AssumedCharset), + (const char *)mutt_get_default_charset (), Charset, M_ICONV_HOOK_FROM); return -1; }