use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stat / statvfs.c
index 5fadb3b..637bf82 100644 (file)
@@ -39,7 +39,7 @@ static void fixup(struct statvfs *out, const struct statfs *in)
        out->f_namemax = in->f_namelen;
 }
 
-int statvfs(const char *path, struct statvfs *buf)
+int statvfs(const char *restrict path, struct statvfs *restrict buf)
 {
        struct statfs kbuf;
        if (__statfs(path, &kbuf)<0) return -1;