summaryrefslogtreecommitdiff
path: root/src/multibyte/mbstowcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/multibyte/mbstowcs.c')
-rw-r--r--src/multibyte/mbstowcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multibyte/mbstowcs.c b/src/multibyte/mbstowcs.c
index 23e1d925..5071baf7 100644
--- a/src/multibyte/mbstowcs.c
+++ b/src/multibyte/mbstowcs.c
@@ -11,7 +11,7 @@
#include "internal.h"
-size_t mbstowcs(wchar_t *ws, const char *s, size_t wn)
+size_t mbstowcs(wchar_t *restrict ws, const char *restrict s, size_t wn)
{
mbstate_t st = { 0 };
return mbsrtowcs(ws, (void*)&s, wn, &st);