aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
committerXin LI <delphij@FreeBSD.org>2009-12-11 23:35:38 +0000
commit6f2d322192a3949db6e0f0b4bad4c763abc52bed (patch)
tree1c4d97908b52dc5263d006038b9af6b5ca886ca8 /usr.bin/find
parente87862f53a119884d2103da7ba52cf7d14426803 (diff)
downloadsrc-6f2d322192a3949db6e0f0b4bad4c763abc52bed.tar.gz
src-6f2d322192a3949db6e0f0b4bad4c763abc52bed.zip
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
Notes
Notes: svn path=/head/; revision=200420
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/find.c1
-rw-r--r--usr.bin/find/getdate.y1
-rw-r--r--usr.bin/find/ls.c1
-rw-r--r--usr.bin/find/main.c1
-rw-r--r--usr.bin/find/misc.c1
-rw-r--r--usr.bin/find/option.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c
index cc2d797a541d..3171f8ba595b 100644
--- a/usr.bin/find/find.c
+++ b/usr.bin/find/find.c
@@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <fts.h>
#include <regex.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include "find.h"
diff --git a/usr.bin/find/getdate.y b/usr.bin/find/getdate.y
index de7750c88ff5..0a7ab21087ad 100644
--- a/usr.bin/find/getdate.y
+++ b/usr.bin/find/getdate.y
@@ -15,7 +15,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <stdio.h>
#include <ctype.h>
/* The code at the top of get_date which figures out the offset of the
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index 88e45938cc6d..7b9d88f4731b 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
-#include <errno.h>
#include <fts.h>
#include <grp.h>
#include <inttypes.h>
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 8e2b42cd298c..9a0b9ce4c744 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
-#include <errno.h>
#include <fcntl.h>
#include <fts.h>
#include <locale.h>
diff --git a/usr.bin/find/misc.c b/usr.bin/find/misc.c
index 15329064cf44..8fda57c87dfb 100644
--- a/usr.bin/find/misc.c
+++ b/usr.bin/find/misc.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <err.h>
-#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index 7d06c910ae70..6c76bbfa89ba 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include <err.h>
#include <fts.h>
#include <regex.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>