summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/wsetup.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 06:57:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 06:57:46 +0000
commit5e18c2b7bf584f7defb8b73f3e0a4843e3da9bbc (patch)
treed0465cd6e1cbbd6344562de8dd7480b043ae0fc2 /lib/libc/stdio/wsetup.c
parent89da542295094c69854c9bfec672d7f26cb8e581 (diff)
a first pass at -Wall
Diffstat (limited to 'lib/libc/stdio/wsetup.c')
-rw-r--r--lib/libc/stdio/wsetup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/wsetup.c b/lib/libc/stdio/wsetup.c
index cc992bdf341..89d560158d7 100644
--- a/lib/libc/stdio/wsetup.c
+++ b/lib/libc/stdio/wsetup.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: wsetup.c,v 1.2 1996/08/19 08:33:16 tholo Exp $";
+static char rcsid[] = "$OpenBSD: wsetup.c,v 1.3 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: wsetup.c,v 1.2 1996/08/19 08:33:16 tholo Exp $"
* because either _flags does not include __SWR, or _buf is NULL.
* _wsetup returns 0 if OK to write, nonzero otherwise.
*/
+int
__swsetup(fp)
register FILE *fp;
{