diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-06-03 10:27:16 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-06-09 15:19:46 +0100 |
commit | 869202a18cf77ba4472a508cddc4fd40e142c072 (patch) | |
tree | d35a38acaf178a2bba0e926e17e38b00fbd31158 | |
parent | 77d41d2e20fe18fc5830a6601680751209dddb33 (diff) | |
download | coreutils-869202a18cf77ba4472a508cddc4fd40e142c072.tar.xz |
maint: remove unneeded includes
Remove unneeded includes as reported by:
http://code.google.com/p/include-what-you-use/
* src/cp-hash.c: Remove unused include.
* src/dd.c: Likewise.
* src/du.c: Likewise.
* src/head.c: Likewise.
* src/kill.c: Likewise.
* src/ls.c: Likewise.
* src/stdbuf.c: Likewise.
* src/timeout.c: Likewise.
* src/truncate.c: Likewise.
-rw-r--r-- | src/cp-hash.c | 1 | ||||
-rw-r--r-- | src/dd.c | 1 | ||||
-rw-r--r-- | src/du.c | 1 | ||||
-rw-r--r-- | src/head.c | 1 | ||||
-rw-r--r-- | src/kill.c | 1 | ||||
-rw-r--r-- | src/ls.c | 2 | ||||
-rw-r--r-- | src/stdbuf.c | 1 | ||||
-rw-r--r-- | src/timeout.c | 1 | ||||
-rw-r--r-- | src/truncate.c | 1 |
9 files changed, 0 insertions, 10 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c index 31bee713f..575d01a52 100644 --- a/src/cp-hash.c +++ b/src/cp-hash.c @@ -22,7 +22,6 @@ #include <sys/types.h> #include "system.h" -#include "same.h" #include "hash.h" #include "cp-hash.h" @@ -27,7 +27,6 @@ #include "system.h" #include "close-stream.h" #include "error.h" -#include "fadvise.h" #include "fd-reopen.h" #include "gethrxtime.h" #include "human.h" @@ -37,7 +37,6 @@ #include "human.h" #include "quote.h" #include "quotearg.h" -#include "same.h" #include "stat-time.h" #include "stdio--.h" #include "xfts.h" diff --git a/src/head.c b/src/head.c index 84f9582e0..1c6e6bce3 100644 --- a/src/head.c +++ b/src/head.c @@ -32,7 +32,6 @@ #include "system.h" #include "error.h" -#include "full-write.h" #include "full-read.h" #include "quote.h" #include "safe-read.h" diff --git a/src/kill.c b/src/kill.c index abf8cd10b..b94e68ca4 100644 --- a/src/kill.c +++ b/src/kill.c @@ -21,7 +21,6 @@ #include <getopt.h> #include <sys/types.h> #include <signal.h> -#include <sys/wait.h> #include "system.h" #include "error.h" @@ -53,7 +53,6 @@ #include <stdio.h> #include <assert.h> #include <setjmp.h> -#include <grp.h> #include <pwd.h> #include <getopt.h> #include <signal.h> @@ -95,7 +94,6 @@ #include "obstack.h" #include "quote.h" #include "quotearg.h" -#include "same.h" #include "stat-time.h" #include "strftime.h" #include "xstrtol.h" diff --git a/src/stdbuf.c b/src/stdbuf.c index 2f66dd5ba..f51dc6a6c 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -25,7 +25,6 @@ #include "system.h" #include "error.h" #include "filenamecat.h" -#include "posixver.h" #include "quote.h" #include "xreadlink.h" #include "xstrtol.h" diff --git a/src/timeout.c b/src/timeout.c index 649e1768d..a6862253d 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -55,7 +55,6 @@ #include "xstrtol.h" #include "sig2str.h" #include "operand2sig.h" -#include "cloexec.h" #include "error.h" #include "quote.h" diff --git a/src/truncate.c b/src/truncate.c index 30097ac36..b6c776273 100644 --- a/src/truncate.c +++ b/src/truncate.c @@ -27,7 +27,6 @@ #include "system.h" #include "error.h" -#include "posixver.h" #include "quote.h" #include "xstrtol.h" |