summaryrefslogtreecommitdiffstats
path: root/usr.bin/tr
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/tr
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/tr')
-rw-r--r--usr.bin/tr/cmap.c3
-rw-r--r--usr.bin/tr/cmap.h1
-rw-r--r--usr.bin/tr/cset.c3
-rw-r--r--usr.bin/tr/cset.h1
-rw-r--r--usr.bin/tr/str.c2
-rw-r--r--usr.bin/tr/tr.c4
6 files changed, 0 insertions, 14 deletions
diff --git a/usr.bin/tr/cmap.c b/usr.bin/tr/cmap.c
index 811040c..8c2ab97 100644
--- a/usr.bin/tr/cmap.c
+++ b/usr.bin/tr/cmap.c
@@ -33,10 +33,7 @@
__FBSDID("$FreeBSD$");
#include <assert.h>
-#include <limits.h>
-#include <stdbool.h>
#include <stdlib.h>
-#include <wchar.h>
#include "cmap.h"
static struct cmapnode *cmap_splay(struct cmapnode *, wint_t);
diff --git a/usr.bin/tr/cmap.h b/usr.bin/tr/cmap.h
index 9a81e13..a7c1a30 100644
--- a/usr.bin/tr/cmap.h
+++ b/usr.bin/tr/cmap.h
@@ -29,7 +29,6 @@
#ifndef CMAP_H
#define CMAP_H
-#include <limits.h>
#include <stdbool.h>
#include <wchar.h>
diff --git a/usr.bin/tr/cset.c b/usr.bin/tr/cset.c
index 1b42129..2535eed 100644
--- a/usr.bin/tr/cset.c
+++ b/usr.bin/tr/cset.c
@@ -33,10 +33,7 @@
__FBSDID("$FreeBSD$");
#include <assert.h>
-#include <stdbool.h>
#include <stdlib.h>
-#include <wchar.h>
-#include <wctype.h>
#include "cset.h"
static struct csnode * cset_delete(struct csnode *, wchar_t);
diff --git a/usr.bin/tr/cset.h b/usr.bin/tr/cset.h
index ab3eabd..4a8108a 100644
--- a/usr.bin/tr/cset.h
+++ b/usr.bin/tr/cset.h
@@ -30,7 +30,6 @@
#define CSET_H
#include <stdbool.h>
-#include <wchar.h>
#include <wctype.h>
struct csnode {
diff --git a/usr.bin/tr/str.c b/usr.bin/tr/str.c
index 86ae173..1dee776 100644
--- a/usr.bin/tr/str.c
+++ b/usr.bin/tr/str.c
@@ -44,8 +44,6 @@ static const char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95";
#include <ctype.h>
#include <err.h>
#include <errno.h>
-#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
diff --git a/usr.bin/tr/tr.c b/usr.bin/tr/tr.c
index 61195ff..6db16af 100644
--- a/usr.bin/tr/tr.c
+++ b/usr.bin/tr/tr.c
@@ -47,16 +47,12 @@ static const char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95";
#include <sys/types.h>
-#include <ctype.h>
#include <err.h>
-#include <limits.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <wchar.h>
-#include <wctype.h>
#include "cmap.h"
#include "cset.h"
OpenPOWER on IntegriCloud