use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / string / wcpcpy.c
index fdf878f..ef40134 100644 (file)
@@ -1,6 +1,6 @@
 #include <wchar.h>
 
 #include <wchar.h>
 
-wchar_t *wcpcpy(wchar_t *d, const wchar_t *s)
+wchar_t *wcpcpy(wchar_t *restrict d, const wchar_t *restrict s)
 {
        return wcscpy(d, s) + wcslen(s);
 }
 {
        return wcscpy(d, s) + wcslen(s);
 }