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 + + * libc/stdlib/wcstombs.c: Change documentation to specify size_t + return type instead of int. + 2009-07-29 Jeff Johnston * 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 - 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 - int wcstombs(<[s]>, <[pwc]>, <[n]>) + size_t wcstombs(<[s]>, <[pwc]>, <[n]>) char *<[s]>; const wchar_t *<[pwc]>; size_t <[n]>;