diff options
author | tijl <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
commit | b0813ee288f64f677a2cebf7815754b027a8215b (patch) | |
tree | 87498bf268bfd011fdf8bf597761671de1049b22 /lib/libiconv_modules/JOHAB/citrus_johab.c | |
parent | 788163adc0d01b144c16af2c10940df70141614a (diff) | |
download | FreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.zip FreeBSD-src-b0813ee288f64f677a2cebf7815754b027a8215b.tar.gz |
Remove the const qualifier from iconv(3) to comply with POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
Exp-run by: antoine
MFC after: 2 weeks
Diffstat (limited to 'lib/libiconv_modules/JOHAB/citrus_johab.c')
-rw-r--r-- | lib/libiconv_modules/JOHAB/citrus_johab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libiconv_modules/JOHAB/citrus_johab.c b/lib/libiconv_modules/JOHAB/citrus_johab.c index a533a85..459f8c9 100644 --- a/lib/libiconv_modules/JOHAB/citrus_johab.c +++ b/lib/libiconv_modules/JOHAB/citrus_johab.c @@ -145,10 +145,10 @@ ishanja(int l, int t) static int /*ARGSUSED*/ _citrus_JOHAB_mbrtowc_priv(_JOHABEncodingInfo * __restrict ei, - wchar_t * __restrict pwc, const char ** __restrict s, size_t n, + wchar_t * __restrict pwc, char ** __restrict s, size_t n, _JOHABState * __restrict psenc, size_t * __restrict nresult) { - const char *s0; + char *s0; int l, t; if (*s == NULL) { |