use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / locale / wcsxfrm.c
index 5f76e5a..bfa01b5 100644 (file)
@@ -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) {