only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git] / src / string / wcstok.c
index c932d0a06d62c935be0d1da2f0dbc66ac5a98d36..ecc8033190c781c6f75574686d3681254dee843f 100644 (file)
@@ -1,6 +1,6 @@
 #include <wchar.h>
 
-wchar_t *wcstok(wchar_t *s, const wchar_t *sep, wchar_t **p)
+wchar_t *wcstok(wchar_t *restrict s, const wchar_t *restrict sep, wchar_t **restrict p)
 {
        if (!s && !(s = *p)) return NULL;
        s += wcsspn(s, sep);