use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / string / strncat.c
index 08685ad..01ca2a2 100644 (file)
@@ -1,6 +1,6 @@
 #include <string.h>
 
-char *strncat(char *d, const char *s, size_t n)
+char *strncat(char *restrict d, const char *restrict s, size_t n)
 {
        char *a = d;
        d += strlen(d);