aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fgets.c')
-rw-r--r--newlib/libc/stdio/fgets.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/fgets.c b/newlib/libc/stdio/fgets.c
index 5409751..5edeef9 100644
--- a/newlib/libc/stdio/fgets.c
+++ b/newlib/libc/stdio/fgets.c
@@ -95,9 +95,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
char *
_DEFUN(_fgets_r, (ptr, buf, n, fp),
- struct _reent * ptr _AND
- char *__restrict buf _AND
- int n _AND
+ struct _reent * ptr,
+ char *__restrict buf,
+ int n,
FILE *__restrict fp)
{
size_t len;
@@ -190,8 +190,8 @@ _DEFUN(_fgets_r, (ptr, buf, n, fp),
char *
_DEFUN(fgets, (buf, n, fp),
- char *__restrict buf _AND
- int n _AND
+ char *__restrict buf,
+ int n,
FILE *__restrict fp)
{
return _fgets_r (_REENT, buf, n, fp);