From 80317fe50fac71de0a1afec48d0b7936ac2c022e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 4 Apr 2009 16:00:31 +0000 Subject: [PATCH] * libc/stdlib/wcstombs.c: Fix datatypes in documentation. --- newlib/ChangeLog | 4 ++++ 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,3 +1,7 @@ +2009-04-04 Corinna Vinschen + + * libc/stdlib/wcstombs.c: Fix datatypes in documentation. + 2009-04-04 Corinna Vinschen * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from 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 - 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 int wcstombs(<[s]>, <[pwc]>, <[n]>) - const char *<[s]>; - wchar_t *<[pwc]>; + char *<[s]>; + const wchar_t *<[pwc]>; size_t <[n]>; DESCRIPTION