diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-15 09:09:20 +0000 |
commit | 1243a98e38a54709f670e748070f4051de2ad10f (patch) | |
tree | 87498bf268bfd011fdf8bf597761671de1049b22 /lib/libiconv_modules/iconv_none | |
parent | 3de3815469d22c460231e0bbc0256e75fcd9de58 (diff) | |
download | src-1243a98e38a54709f670e748070f4051de2ad10f.tar.gz src-1243a98e38a54709f670e748070f4051de2ad10f.zip |
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
Notes
Notes:
svn path=/head/; revision=281550
Diffstat (limited to 'lib/libiconv_modules/iconv_none')
-rw-r--r-- | lib/libiconv_modules/iconv_none/citrus_iconv_none.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libiconv_modules/iconv_none/citrus_iconv_none.c b/lib/libiconv_modules/iconv_none/citrus_iconv_none.c index 967ee130ba3d..9d6cd317195d 100644 --- a/lib/libiconv_modules/iconv_none/citrus_iconv_none.c +++ b/lib/libiconv_modules/iconv_none/citrus_iconv_none.c @@ -97,7 +97,7 @@ _citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv __unused) static int /*ARGSUSED*/ _citrus_iconv_none_iconv_convert(struct _citrus_iconv * __restrict ci __unused, - const char * __restrict * __restrict in, size_t * __restrict inbytes, + char * __restrict * __restrict in, size_t * __restrict inbytes, char * __restrict * __restrict out, size_t * __restrict outbytes, uint32_t flags __unused, size_t * __restrict invalids) { |