X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Ffreopen.c;h=57c3cd293b986f857bf96a50db2bd26107d57ac4;hp=b1f8fe71ba25bcdb72e0b9c963bff494cd16698d;hb=400c5e5c8307a2ebe44ef1f203f5a15669f20347;hpb=2499cd9d9be0ba74e16a6c3dd304e6d69070be35 diff --git a/src/stdio/freopen.c b/src/stdio/freopen.c index b1f8fe71..57c3cd29 100644 --- a/src/stdio/freopen.c +++ b/src/stdio/freopen.c @@ -7,7 +7,7 @@ /* Locking is not necessary because, in the event of failure, the stream * passed to freopen is invalid as soon as freopen is called. */ -FILE *freopen(const char *filename, const char *mode, FILE *f) +FILE *freopen(const char *restrict filename, const char *restrict mode, FILE *restrict f) { int fl; FILE *f2;