summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwchild.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-03-16 01:11:10 +0000
commit923dcd6706e06e5d73c82258a99ae176f75a6804 (patch)
tree86d50af5a120a945a4631b83c9834f38fb448d92 /usr.bin/window/wwchild.c
parent5158e01d42b380c30ab5e2d29d8b053c2e336cb2 (diff)
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.bin/window/wwchild.c')
-rw-r--r--usr.bin/window/wwchild.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/window/wwchild.c b/usr.bin/window/wwchild.c
index 90709befe1a..f2954187e39 100644
--- a/usr.bin/window/wwchild.c
+++ b/usr.bin/window/wwchild.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwchild.c,v 1.8 2004/03/16 01:11:09 tedu Exp $ */
/* $NetBSD: wwchild.c,v 1.3 1995/09/28 10:35:13 tls Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwchild.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwchild.c,v 1.8 2004/03/16 01:11:09 tedu Exp $";
#endif
#endif /* not lint */
@@ -45,10 +45,11 @@ static char rcsid[] = "$OpenBSD: wwchild.c,v 1.7 2003/06/03 02:56:23 millert Exp
#include <sys/types.h>
#include <sys/wait.h>
+#include <errno.h>
+
void
wwchild()
{
- extern errno;
int olderrno;
struct ww **wp;
int w;