summaryrefslogtreecommitdiffstats
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio/rget.c b/newlib/libc/stdio/rget.c
index ea29c2bce..ee4e49ec9 100644
--- a/newlib/libc/stdio/rget.c
+++ b/newlib/libc/stdio/rget.c
@@ -1,5 +1,3 @@
-/* No user fns here. Pesch 15apr92. */
-
/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -16,11 +14,13 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* No user fns here. Pesch 15apr92. */
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "%W% (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
+#include <_ansi.h>
#include <stdio.h>
#include "local.h"
@@ -31,8 +31,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
*/
int
-__srget (fp)
- register FILE *fp;
+_DEFUN(__srget, (fp),
+ register FILE *fp)
{
if (__srefill (fp) == 0)
{