aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/rget.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/rget.c')
-rw-r--r--newlib/libc/stdio/rget.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/rget.c b/newlib/libc/stdio/rget.c
index d76f307..656e566 100644
--- a/newlib/libc/stdio/rget.c
+++ b/newlib/libc/stdio/rget.c
@@ -32,8 +32,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
*/
int
-_DEFUN(__srget_r, (ptr, fp),
- struct _reent *ptr,
+__srget_r (struct _reent *ptr,
register FILE *fp)
{
/* Ensure that any fake std stream is resolved before
@@ -52,8 +51,7 @@ _DEFUN(__srget_r, (ptr, fp),
required for backward compatibility with applications built against
earlier dynamically built newlib libraries. */
int
-_DEFUN(__srget, (fp),
- register FILE *fp)
+__srget (register FILE *fp)
{
return __srget_r (_REENT, fp);
}