summaryrefslogtreecommitdiff
path: root/usr.bin/window
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/window')
-rw-r--r--usr.bin/window/compress.c5
-rw-r--r--usr.bin/window/var.c5
-rw-r--r--usr.bin/window/wwclose.c6
-rw-r--r--usr.bin/window/wwend.c6
-rw-r--r--usr.bin/window/wwenviron.c6
-rw-r--r--usr.bin/window/wwflush.c6
-rw-r--r--usr.bin/window/wwiomux.c5
-rw-r--r--usr.bin/window/wwopen.c5
-rw-r--r--usr.bin/window/wwscroll.c6
-rw-r--r--usr.bin/window/wwspawn.c5
-rw-r--r--usr.bin/window/wwsuspend.c5
11 files changed, 38 insertions, 22 deletions
diff --git a/usr.bin/window/compress.c b/usr.bin/window/compress.c
index 49e34e3d06a..059909bf107 100644
--- a/usr.bin/window/compress.c
+++ b/usr.bin/window/compress.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compress.c,v 1.6 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: compress.c,v 1.7 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: compress.c,v 1.3 1995/09/28 10:34:13 tls Exp $ */
/*
@@ -37,11 +37,12 @@
#if 0
static char sccsid[] = "@(#)compress.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: compress.c,v 1.6 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: compress.c,v 1.7 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
+#include <string.h>
#include "ww.h"
#include "tt.h"
diff --git a/usr.bin/window/var.c b/usr.bin/window/var.c
index 0a48614c9ee..fc6ddab52a5 100644
--- a/usr.bin/window/var.c
+++ b/usr.bin/window/var.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: var.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: var.c,v 1.4 1995/09/28 10:35:01 tls Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)var.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: var.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@@ -45,6 +45,7 @@ static char rcsid[] = "$OpenBSD: var.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
#include "var.h"
#include "string.h"
#include <stdlib.h>
+#include <string.h>
struct var *
var_set1(head, name, v)
diff --git a/usr.bin/window/wwclose.c b/usr.bin/window/wwclose.c
index 6221eb04c3b..2b7dc8efb3b 100644
--- a/usr.bin/window/wwclose.c
+++ b/usr.bin/window/wwclose.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwclose.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwclose.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwclose.c,v 1.3 1995/09/28 10:35:14 tls Exp $ */
/*
@@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwclose.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwclose.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwclose.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
+#include <unistd.h>
+
#include "ww.h"
wwclose(w)
diff --git a/usr.bin/window/wwend.c b/usr.bin/window/wwend.c
index 245ea6d23a9..491a5077a9a 100644
--- a/usr.bin/window/wwend.c
+++ b/usr.bin/window/wwend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwend.c,v 1.4 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwend.c,v 1.5 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwend.c,v 1.3 1995/09/28 10:35:26 tls Exp $ */
/*
@@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwend.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwend.c,v 1.4 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwend.c,v 1.5 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
+#include <stdlib.h>
+
#include "ww.h"
#include "tt.h"
diff --git a/usr.bin/window/wwenviron.c b/usr.bin/window/wwenviron.c
index b510259aff8..978b25072d4 100644
--- a/usr.bin/window/wwenviron.c
+++ b/usr.bin/window/wwenviron.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwenviron.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwenviron.c,v 1.4 1995/12/21 08:39:50 mycroft Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwenviron.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@@ -46,6 +46,8 @@ static char rcsid[] = "$OpenBSD: wwenviron.c,v 1.8 2003/06/03 02:56:23 millert E
#include <sys/ioctl.h>
#endif
#include <sys/signal.h>
+#include <signal.h>
+#include <stdio.h>
/*
* Set up the environment of this process to run in window 'wp'.
diff --git a/usr.bin/window/wwflush.c b/usr.bin/window/wwflush.c
index cb09c6b88e0..db4a040ad6a 100644
--- a/usr.bin/window/wwflush.c
+++ b/usr.bin/window/wwflush.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwflush.c,v 1.6 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwflush.c,v 1.7 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwflush.c,v 1.5 1995/12/21 10:46:08 mycroft Exp $ */
/*
@@ -37,13 +37,15 @@
#if 0
static char sccsid[] = "@(#)wwflush.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwflush.c,v 1.6 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwflush.c,v 1.7 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "tt.h"
#include <sys/signal.h>
+#include <string.h>
+#include <unistd.h>
wwflush()
{
diff --git a/usr.bin/window/wwiomux.c b/usr.bin/window/wwiomux.c
index 8257071028b..9b8ba1ab0d5 100644
--- a/usr.bin/window/wwiomux.c
+++ b/usr.bin/window/wwiomux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwiomux.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwiomux.c,v 1.5 1996/02/08 20:45:09 mycroft Exp $ */
/*
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)wwiomux.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
@@ -49,6 +49,7 @@ static char rcsid[] = "$OpenBSD: wwiomux.c,v 1.8 2003/06/03 02:56:23 millert Exp
#endif
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
/*
* Multiple window output handler.
diff --git a/usr.bin/window/wwopen.c b/usr.bin/window/wwopen.c
index ded2d436ebd..804da4a96c0 100644
--- a/usr.bin/window/wwopen.c
+++ b/usr.bin/window/wwopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwopen.c,v 1.9 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwopen.c,v 1.10 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwopen.c,v 1.6 1996/02/08 21:08:04 mycroft Exp $ */
/*
@@ -37,11 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwopen.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: wwopen.c,v 1.9 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwopen.c,v 1.10 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include <stdlib.h>
+#include <unistd.h>
#include "ww.h"
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/usr.bin/window/wwscroll.c b/usr.bin/window/wwscroll.c
index 2ccda7e461b..6700ea826b6 100644
--- a/usr.bin/window/wwscroll.c
+++ b/usr.bin/window/wwscroll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwscroll.c,v 1.5 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwscroll.c,v 1.6 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwscroll.c,v 1.3 1995/09/28 10:35:53 tls Exp $ */
/*
@@ -37,10 +37,12 @@
#if 0
static char sccsid[] = "@(#)wwscroll.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwscroll.c,v 1.5 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwscroll.c,v 1.6 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
+#include <stdlib.h>
+
#include "ww.h"
#include "tt.h"
diff --git a/usr.bin/window/wwspawn.c b/usr.bin/window/wwspawn.c
index e0d94f338b4..a57da5ee0cd 100644
--- a/usr.bin/window/wwspawn.c
+++ b/usr.bin/window/wwspawn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwspawn.c,v 1.8 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwspawn.c,v 1.9 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwspawn.c,v 1.4 1995/12/21 08:39:57 mycroft Exp $ */
/*
@@ -37,12 +37,13 @@
#if 0
static char sccsid[] = "@(#)wwspawn.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.8 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwspawn.c,v 1.9 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include <sys/signal.h>
+#include <unistd.h>
/*
* There is a dead lock with vfork and closing of pseudo-ports.
diff --git a/usr.bin/window/wwsuspend.c b/usr.bin/window/wwsuspend.c
index b9726c0ea3e..61f4ed46c3e 100644
--- a/usr.bin/window/wwsuspend.c
+++ b/usr.bin/window/wwsuspend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwsuspend.c,v 1.4 2003/06/03 02:56:23 millert Exp $ */
+/* $OpenBSD: wwsuspend.c,v 1.5 2003/07/10 00:06:52 david Exp $ */
/* $NetBSD: wwsuspend.c,v 1.3 1995/09/28 10:35:56 tls Exp $ */
/*
@@ -37,13 +37,14 @@
#if 0
static char sccsid[] = "@(#)wwsuspend.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwsuspend.c,v 1.4 2003/06/03 02:56:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwsuspend.c,v 1.5 2003/07/10 00:06:52 david Exp $";
#endif
#endif /* not lint */
#include "ww.h"
#include "tt.h"
#include <sys/signal.h>
+#include <signal.h>
wwsuspend()
{