-rw-r--r-- | kmicromail/libetpan/tools/charconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/libetpan/tools/charconv.c b/kmicromail/libetpan/tools/charconv.c index bf3de51..f7a3c89 100644 --- a/kmicromail/libetpan/tools/charconv.c +++ b/kmicromail/libetpan/tools/charconv.c @@ -36,26 +36,26 @@ #include "charconv.h" #include "config.h" #ifdef HAVE_ICONV #include <iconv.h> #endif #include <stdlib.h> #include <string.h> #include <stdio.h> #include <errno.h> #include "mmapstring.h" - #ifdef HAVE_ICONV + static size_t mail_iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, char **inrepls, char *outrepl) { /* XXX - force conversion of (* inbuf) to (char *) because prototype of iconv() is the following : size_t iconv(iconv_t cd, char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft); */ |