summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/wbuf.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/wbuf.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/wbuf.c')
-rw-r--r--lib/libc/stdio/wbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/wbuf.c b/lib/libc/stdio/wbuf.c
index 93f131ae4a6..37604ca06bb 100644
--- a/lib/libc/stdio/wbuf.c
+++ b/lib/libc/stdio/wbuf.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: wbuf.c,v 1.4 1997/05/31 22:41:32 tholo Exp $";
+static char rcsid[] = "$OpenBSD: wbuf.c,v 1.5 2001/07/09 06:57:45 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -47,6 +47,7 @@ static char rcsid[] = "$OpenBSD: wbuf.c,v 1.4 1997/05/31 22:41:32 tholo Exp $";
* the given file. Flush the buffer out if it is or becomes full,
* or if c=='\n' and the file is line buffered.
*/
+int
__swbuf(c, fp)
register int c;
register FILE *fp;