aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/freopen.c')
-rw-r--r--newlib/libc/stdio/freopen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c
index e5bb73a..b9fee0c 100644
--- a/newlib/libc/stdio/freopen.c
+++ b/newlib/libc/stdio/freopen.c
@@ -76,9 +76,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
FILE *
_DEFUN(_freopen_r, (ptr, file, mode, fp),
- struct _reent *ptr _AND
- const char *__restrict file _AND
- const char *__restrict mode _AND
+ struct _reent *ptr,
+ const char *__restrict file,
+ const char *__restrict mode,
register FILE *__restrict fp)
{
register int f;
@@ -244,8 +244,8 @@ _DEFUN(_freopen_r, (ptr, file, mode, fp),
FILE *
_DEFUN(freopen, (file, mode, fp),
- _CONST char *__restrict file _AND
- _CONST char *__restrict mode _AND
+ _CONST char *__restrict file,
+ _CONST char *__restrict mode,
register FILE *__restrict fp)
{
return _freopen_r (_REENT, file, mode, fp);