use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / string / strcpy.c
index 7675e9c..f7e3ba3 100644 (file)
@@ -2,7 +2,7 @@
 
 char *__stpcpy(char *, const char *);
 
-char *strcpy(char *dest, const char *src)
+char *strcpy(char *restrict dest, const char *restrict src)
 {
 #if 1
        __stpcpy(dest, src);