summaryrefslogtreecommitdiffstats
path: root/usr.bin/window
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-20 19:56:01 +0000
committerjb <jb@FreeBSD.org>1998-02-20 19:56:01 +0000
commit10057ded6eae89d55ee6cbc3617e3560d8ce79a4 (patch)
treeaf29aac392180e4f0b2c5da88e8825d9f1f9aecc /usr.bin/window
parent039ef0e89d0b8876ab758a554c24fbbeae8904fa (diff)
downloadFreeBSD-src-10057ded6eae89d55ee6cbc3617e3560d8ce79a4.zip
FreeBSD-src-10057ded6eae89d55ee6cbc3617e3560d8ce79a4.tar.gz
Add #include <string.h> to get prototypes. Note that this program
also has a local "string.h" which is included too.
Diffstat (limited to 'usr.bin/window')
-rw-r--r--usr.bin/window/lcmd1.c3
-rw-r--r--usr.bin/window/main.c3
-rw-r--r--usr.bin/window/string.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/window/lcmd1.c b/usr.bin/window/lcmd1.c
index ff96cac..cafe72c 100644
--- a/usr.bin/window/lcmd1.c
+++ b/usr.bin/window/lcmd1.c
@@ -39,7 +39,8 @@ static char sccsid[] = "@(#)lcmd1.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#include "defs.h"
-#include "string.h"
+#include <string.h> /* System string definitions. */
+#include "string.h" /* Local string definitions. */
#include "value.h"
#include "lcmd.h"
#include "var.h"
diff --git a/usr.bin/window/main.c b/usr.bin/window/main.c
index 3613ca1..fb80ba3 100644
--- a/usr.bin/window/main.c
+++ b/usr.bin/window/main.c
@@ -48,7 +48,8 @@ static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/2/94";
#include <paths.h>
#include <locale.h>
#include <stdio.h>
-#include "string.h"
+#include <string.h> /* System string definitions. */
+#include "string.h" /* Local string definitions. */
#include "char.h"
#include "local.h"
diff --git a/usr.bin/window/string.c b/usr.bin/window/string.c
index a01f04f..9d1c145 100644
--- a/usr.bin/window/string.c
+++ b/usr.bin/window/string.c
@@ -38,7 +38,8 @@
static char sccsid[] = "@(#)string.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
-#include "string.h"
+#include <string.h> /* System string definitions. */
+#include "string.h" /* Local string definitions. */
char *malloc();
OpenPOWER on IntegriCloud