summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/rget.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-07-09 06:57:42 +0000
committerderaadt <deraadt@openbsd.org>2001-07-09 06:57:42 +0000
commit20675415ae25d5cd6585b743a7a3b5fc8476438c (patch)
treeb5c8b13f4ad70d8da1e9b7e09c544028ca4e34de /lib/libc/stdio/rget.c
parentadd i2o devices (diff)
downloadwireguard-openbsd-20675415ae25d5cd6585b743a7a3b5fc8476438c.tar.xz
wireguard-openbsd-20675415ae25d5cd6585b743a7a3b5fc8476438c.zip
a first pass at -Wall
Diffstat (limited to 'lib/libc/stdio/rget.c')
-rw-r--r--lib/libc/stdio/rget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/rget.c b/lib/libc/stdio/rget.c
index 78303af97b9..867f2f94b66 100644
--- a/lib/libc/stdio/rget.c
+++ b/lib/libc/stdio/rget.c
@@ -35,16 +35,18 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: rget.c,v 1.2 1996/08/19 08:33:02 tholo Exp $";
+static char rcsid[] = "$OpenBSD: rget.c,v 1.3 2001/07/09 06:57:44 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
+#include "local.h"
/*
* Handle getc() when the buffer ran out:
* Refill, then return the first character
* in the newly-filled buffer.
*/
+int
__srget(fp)
register FILE *fp;
{