use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fopen.c
index 0d5b1af..560b77e 100644 (file)
@@ -1,6 +1,6 @@
 #include "stdio_impl.h"
 
-FILE *fopen(const char *filename, const char *mode)
+FILE *fopen(const char *restrict filename, const char *restrict mode)
 {
        FILE *f;
        int fd;