diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-08-10 16:23:20 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-08-10 16:23:20 +0000 |
commit | 5f8c90bbc03dbfeb3f7b42e0c45ae8fdebc97975 (patch) | |
tree | 0bbabb49fe26868c07e5b6679dfd2547c8810ded | |
parent | 019fc8d880d09840264000860ef768ef6effed3c (diff) | |
download | cygnal-5f8c90bbc03dbfeb3f7b42e0c45ae8fdebc97975.tar.gz cygnal-5f8c90bbc03dbfeb3f7b42e0c45ae8fdebc97975.tar.bz2 cygnal-5f8c90bbc03dbfeb3f7b42e0c45ae8fdebc97975.zip |
2009-08-10 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/wcstombs.c: Change documentation to specify size_t
return type instead of int.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcstombs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index aaf4b530a..a536c7873 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Jeff Johnston <jjohnstn@redhat.com> + + * libc/stdlib/wcstombs.c: Change documentation to specify size_t + return type instead of int. + 2009-07-29 Jeff Johnston <jjohnstn@redhat.com> * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c index 6f455ea7a..d0ef26e53 100644 --- a/newlib/libc/stdlib/wcstombs.c +++ b/newlib/libc/stdlib/wcstombs.c @@ -7,11 +7,11 @@ INDEX ANSI_SYNOPSIS #include <stdlib.h> - int wcstombs(char *<[s]>, const wchar_t *<[pwc]>, size_t <[n]>); + size_t wcstombs(char *<[s]>, const wchar_t *<[pwc]>, size_t <[n]>); TRAD_SYNOPSIS #include <stdlib.h> - int wcstombs(<[s]>, <[pwc]>, <[n]>) + size_t wcstombs(<[s]>, <[pwc]>, <[n]>) char *<[s]>; const wchar_t *<[pwc]>; size_t <[n]>; |