diff options
Diffstat (limited to 'newlib/libc/stdlib/mbrtowc.c')
-rw-r--r-- | newlib/libc/stdlib/mbrtowc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c index 0a8c23a9d..550aaff99 100644 --- a/newlib/libc/stdlib/mbrtowc.c +++ b/newlib/libc/stdlib/mbrtowc.c @@ -43,10 +43,10 @@ _DEFUN (_mbrtowc_r, (ptr, pwc, s, n, ps), #ifndef _REENT_ONLY size_t _DEFUN (mbrtowc, (pwc, s, n, ps), - wchar_t *pwc _AND - const char *s _AND + wchar_t *__restrict pwc _AND + const char *__restrict s _AND size_t n _AND - mbstate_t *ps) + mbstate_t *__restrict ps) { #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) return _mbrtowc_r (_REENT, pwc, s, n, ps); |