use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stat / stat.c
index c5491eb..c6de716 100644 (file)
@@ -2,7 +2,7 @@
 #include "syscall.h"
 #include "libc.h"
 
-int stat(const char *path, struct stat *buf)
+int stat(const char *restrict path, struct stat *restrict buf)
 {
        return syscall(SYS_stat, path, buf);
 }