use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / misc / realpath.c
index ef156fc..5756817 100644 (file)
@@ -6,7 +6,7 @@
 #include <errno.h>
 #include <unistd.h>
 
-char *realpath(const char *filename, char *resolved)
+char *realpath(const char *restrict filename, char *restrict resolved)
 {
        int fd;
        ssize_t r;