use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / string / stpcpy.c
index 10ca493..da96f21 100644 (file)
@@ -9,7 +9,7 @@
 #define HIGHS (ONES * (UCHAR_MAX/2+1))
 #define HASZERO(x) ((x)-ONES & ~(x) & HIGHS)
 
-char *__stpcpy(char *d, const char *s)
+char *__stpcpy(char *restrict d, const char *restrict s)
 {
        size_t *wd;
        const size_t *ws;