summaryrefslogtreecommitdiff
path: root/src/locale/wcsxfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/wcsxfrm.c')
-rw-r--r--src/locale/wcsxfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/wcsxfrm.c b/src/locale/wcsxfrm.c
index 5f76e5a7..bfa01b5b 100644
--- a/src/locale/wcsxfrm.c
+++ b/src/locale/wcsxfrm.c
@@ -1,7 +1,7 @@
#include <wchar.h>
/* collate only by code points */
-size_t wcsxfrm(wchar_t *dest, const wchar_t *src, size_t n)
+size_t wcsxfrm(wchar_t *restrict dest, const wchar_t *restrict src, size_t n)
{
size_t l = wcslen(src);
if (l >= n) {