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