aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/rget.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2001-02-11 22:06:43 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2001-02-11 22:06:43 +0000
commit29ac6bd228d1c75dc4c19105fa149861bff04720 (patch)
tree91800b480f9efe4c0d90fe0b653e4bb1125f24f7 /lib/libc/stdio/rget.c
parent5b62961a494b0271f6029f0c8f1e8c92a2267fe7 (diff)
downloadsrc-29ac6bd228d1c75dc4c19105fa149861bff04720.tar.gz
src-29ac6bd228d1c75dc4c19105fa149861bff04720.zip
Notes
Diffstat (limited to 'lib/libc/stdio/rget.c')
-rw-r--r--lib/libc/stdio/rget.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/stdio/rget.c b/lib/libc/stdio/rget.c
index 45d817d78f9e..4ec796fa14a3 100644
--- a/lib/libc/stdio/rget.c
+++ b/lib/libc/stdio/rget.c
@@ -39,22 +39,19 @@
static char sccsid[] = "@(#)rget.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id";
+ "$FreeBSD$";
#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.
*/
-int __srget(fp)
- register FILE *fp;
+int
+__srget(FILE *fp)
{
if (__srefill(fp) == 0) {
fp->_r--;