summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
commitb963db4652a0bf1718825e8e1a9bc93e87b7a80f (patch)
tree1c4d97908b52dc5263d006038b9af6b5ca886ca8 /usr.bin/w
parentf8bfec1fb23c300d6b8bb021cf4f7fdd21981c3f (diff)
downloadFreeBSD-src-b963db4652a0bf1718825e8e1a9bc93e87b7a80f.zip
FreeBSD-src-b963db4652a0bf1718825e8e1a9bc93e87b7a80f.tar.gz
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/pr_time.c1
-rw-r--r--usr.bin/w/w.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c
index acf6f8c..b46fe17 100644
--- a/usr.bin/w/pr_time.c
+++ b/usr.bin/w/pr_time.c
@@ -43,7 +43,6 @@ static const char sccsid[] = "@(#)pr_time.c 8.2 (Berkeley) 4/4/94";
#include <sys/time.h>
#include <stdio.h>
-#include <string.h>
#include <wchar.h>
#include "extern.h"
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index d35892e..23fce28 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -66,7 +66,6 @@ static const char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#include <arpa/inet.h>
#include <arpa/nameser.h>
-#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
@@ -82,11 +81,9 @@ static const char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <timeconv.h>
#define _ULOG_POSIX_NAMES
#include <ulog.h>
#include <unistd.h>
-#include <vis.h>
#include "extern.h"
OpenPOWER on IntegriCloud