use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / string / strcat.c
index 29fdb61..33f749b 100644 (file)
@@ -1,6 +1,6 @@
 #include <string.h>
 
 #include <string.h>
 
-char *strcat(char *dest, const char *src)
+char *strcat(char *restrict dest, const char *restrict src)
 {
        strcpy(dest + strlen(dest), src);
        return dest;
 {
        strcpy(dest + strlen(dest), src);
        return dest;