summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/rget.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/rget.c')
-rw-r--r--lib/libc/stdio/rget.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/stdio/rget.c b/lib/libc/stdio/rget.c
index 3299fb5..45d817d 100644
--- a/lib/libc/stdio/rget.c
+++ b/lib/libc/stdio/rget.c
@@ -35,17 +35,25 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
+#if 0
static char sccsid[] = "@(#)rget.c 8.1 (Berkeley) 6/4/93";
+#endif
+static const char rcsid[] =
+ "$Id";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
+#include "local.h"
+
+int
+__srefill(FILE *);
/*
* Handle getc() when the buffer ran out:
* Refill, then return the first character
* in the newly-filled buffer.
*/
-__srget(fp)
+int __srget(fp)
register FILE *fp;
{
if (__srefill(fp) == 0) {
OpenPOWER on IntegriCloud