summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/wcstombs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/wcstombs.c')
-rw-r--r--newlib/libc/stdlib/wcstombs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c
index d0ef26e53..b0123a313 100644
--- a/newlib/libc/stdlib/wcstombs.c
+++ b/newlib/libc/stdlib/wcstombs.c
@@ -7,7 +7,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdlib.h>
- size_t wcstombs(char *<[s]>, const wchar_t *<[pwc]>, size_t <[n]>);
+ size_t wcstombs(char *restrict <[s]>, const wchar_t *restrict <[pwc]>, size_t <[n]>);
TRAD_SYNOPSIS
#include <stdlib.h>
@@ -56,8 +56,8 @@ effects vary with the locale.
size_t
_DEFUN (wcstombs, (s, pwcs, n),
- char *s _AND
- const wchar_t *pwcs _AND
+ char *__restrict s _AND
+ const wchar_t *__restrict pwcs _AND
size_t n)
{
#ifdef _MB_CAPABLE