summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-04-04 16:00:31 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-04-04 16:00:31 +0000
commit80317fe50fac71de0a1afec48d0b7936ac2c022e (patch)
treed9fc9f2a8afd63a1420767e4d5053a6ff8bef68b
parent4fedce119c521a4bdb816457f76bf4c90244aeb6 (diff)
downloadcygnal-80317fe50fac71de0a1afec48d0b7936ac2c022e.tar.gz
cygnal-80317fe50fac71de0a1afec48d0b7936ac2c022e.tar.bz2
cygnal-80317fe50fac71de0a1afec48d0b7936ac2c022e.zip
* libc/stdlib/wcstombs.c: Fix datatypes in documentation.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdlib/wcstombs.c6
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