summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/refill.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/refill.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/refill.c')
-rw-r--r--lib/libc/stdio/refill.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/refill.c b/lib/libc/stdio/refill.c
index 865a503228b..768295e649d 100644
--- a/lib/libc/stdio/refill.c
+++ b/lib/libc/stdio/refill.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: refill.c,v 1.4 1999/08/07 17:35:58 millert Exp $";
+static char rcsid[] = "$OpenBSD: refill.c,v 1.5 2001/07/09 06:57:44 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
@@ -43,7 +43,7 @@ static char rcsid[] = "$OpenBSD: refill.c,v 1.4 1999/08/07 17:35:58 millert Exp
#include <stdlib.h>
#include "local.h"
-static
+static int
lflush(fp)
FILE *fp;
{
@@ -57,6 +57,7 @@ lflush(fp)
* Refill a stdio buffer.
* Return EOF on eof or error, 0 otherwise.
*/
+int
__srefill(fp)
register FILE *fp;
{