summaryrefslogtreecommitdiff
path: root/src/stdio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/freopen.c')
-rw-r--r--src/stdio/freopen.c2
1 files changed, 1 insertions, 1 deletions
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;