aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/rget.c
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
commitce51cf0392a0b2cc80e5ddcdb01394a303093443 (patch)
treedabe76e239303cbaa8026d6b9fa85fe1b5845601 /lib/libc/stdio/rget.c
parent55c148f316e1e2bbc7ac656d7f89144dd9dc34c0 (diff)
downloadsrc-ce51cf0392a0b2cc80e5ddcdb01394a303093443.tar.gz
src-ce51cf0392a0b2cc80e5ddcdb01394a303093443.zip
Notes
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 3299fb568f59..45d817d78f9e 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) {