summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
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/find
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/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 cc2d797..3171f8b 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 de7750c..0a7ab21 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 88e4593..7b9d88f 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 8e2b42c..9a0b9ce 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 1532906..8fda57c 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 7d06c91..6c76bbf 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>
OpenPOWER on IntegriCloud