aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv.c2
-rw-r--r--iconv/iconv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/iconv/iconv.c b/iconv/iconv.c
index 3fafc88cee..58d977e949 100644
--- a/iconv/iconv.c
+++ b/iconv/iconv.c
@@ -29,7 +29,7 @@
size_t
-iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf,
+iconv (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf,
size_t *outbytesleft)
{
__gconv_t gcd = (__gconv_t) cd;
diff --git a/iconv/iconv.h b/iconv/iconv.h
index 2e5fcb92fa..2165a14623 100644
--- a/iconv/iconv.h
+++ b/iconv/iconv.h
@@ -38,7 +38,7 @@ extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode)
/* Convert at most *INBYTESLEFT bytes from *INBUF according to the
code conversion algorithm specified by CD and place up to
*OUTBYTESLEFT bytes in buffer at *OUTBUF. */
-extern size_t iconv (iconv_t __cd, __const char **__restrict __inbuf,
+extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
size_t *__restrict __inbytesleft,
char **__restrict __outbuf,
size_t *__restrict __outbytesleft);