summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/iconv.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2009-08-21 20:27:10 +0000
committerEric Blake <eblake@redhat.com>2009-08-21 20:27:10 +0000
commit3584ff9cb2e12429e8fdaef59a6c04205b35e6ab (patch)
treee085fc8164aa5c80fde4404352bbba03bcb262fd /newlib/libc/include/iconv.h
parentc11ba63d52f86470878b8ab9c22bfc6676f1dd12 (diff)
downloadcygnal-3584ff9cb2e12429e8fdaef59a6c04205b35e6ab.tar.gz
cygnal-3584ff9cb2e12429e8fdaef59a6c04205b35e6ab.tar.bz2
cygnal-3584ff9cb2e12429e8fdaef59a6c04205b35e6ab.zip
iconv: match SUSv3 prototype
* libc/include/iconv.h (iconv): Match POSIX prototype. * libc/iconv/lib/iconv.c (iconv): Likewise.
Diffstat (limited to 'newlib/libc/include/iconv.h')
-rw-r--r--newlib/libc/include/iconv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/iconv.h b/newlib/libc/include/iconv.h
index 5b8fcecff..c4a283afa 100644
--- a/newlib/libc/include/iconv.h
+++ b/newlib/libc/include/iconv.h
@@ -37,11 +37,11 @@ typedef _iconv_t iconv_t;
_BEGIN_STD_C
#ifndef _REENT_ONLY
-iconv_t
+iconv_t
_EXFUN(iconv_open, (_CONST char *, _CONST char *));
size_t
-_EXFUN(iconv, (iconv_t, _CONST char **, size_t *, char **, size_t *));
+_EXFUN(iconv, (iconv_t, char **, size_t *, char **, size_t *));
int
_EXFUN(iconv_close, (iconv_t));
@@ -51,7 +51,7 @@ iconv_t
_EXFUN(_iconv_open_r, (struct _reent *, _CONST char *, _CONST char *));
size_t
-_EXFUN(_iconv_r, (struct _reent *, iconv_t, _CONST char **,
+_EXFUN(_iconv_r, (struct _reent *, iconv_t, _CONST char **,
size_t *, char **, size_t *));
int