diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcstombs.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 2b727856a..4e092b5b2 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,9 @@ 2009-04-04 Corinna Vinschen <corinna@vinschen.de> + * libc/stdlib/wcstombs.c: Fix datatypes in documentation. + +2009-04-04 Corinna Vinschen <corinna@vinschen.de> + * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here... * libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here. diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c index 83e48da93..6f455ea7a 100644 --- a/newlib/libc/stdlib/wcstombs.c +++ b/newlib/libc/stdlib/wcstombs.c @@ -7,13 +7,13 @@ INDEX ANSI_SYNOPSIS #include <stdlib.h> - int wcstombs(const char *<[s]>, wchar_t *<[pwc]>, size_t <[n]>); + int wcstombs(char *<[s]>, const wchar_t *<[pwc]>, size_t <[n]>); TRAD_SYNOPSIS #include <stdlib.h> int wcstombs(<[s]>, <[pwc]>, <[n]>) - const char *<[s]>; - wchar_t *<[pwc]>; + char *<[s]>; + const wchar_t *<[pwc]>; size_t <[n]>; DESCRIPTION |