diff options
Diffstat (limited to 'newlib/libc/stdlib/wcsrtombs.c')
-rw-r--r-- | newlib/libc/stdlib/wcsrtombs.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/wcsrtombs.c b/newlib/libc/stdlib/wcsrtombs.c index ea6bd9d..2b6777c 100644 --- a/newlib/libc/stdlib/wcsrtombs.c +++ b/newlib/libc/stdlib/wcsrtombs.c @@ -1,3 +1,5 @@ +/* Doc in wcsnrtombs.c */ + #include <reent.h> #include <newlib.h> #include <wchar.h> @@ -16,10 +18,10 @@ _DEFUN (_wcsrtombs_r, (r, dst, src, len, ps), #ifndef _REENT_ONLY size_t _DEFUN (wcsrtombs, (dst, src, len, ps), - char *dst _AND - const wchar_t **src _AND + char *__restrict dst _AND + const wchar_t **__restrict src _AND size_t len _AND - mbstate_t *ps) + mbstate_t *__restrict ps) { return _wcsnrtombs_r (_REENT, dst, src, (size_t) -1, len, ps); } |