projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use restrict everywhere it's required by c99 and/or posix 2008
[musl]
/
src
/
stdio
/
fopen.c
diff --git
a/src/stdio/fopen.c
b/src/stdio/fopen.c
index
0d5b1af
..
560b77e
100644
(file)
--- a/
src/stdio/fopen.c
+++ b/
src/stdio/fopen.c
@@
-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;