From 869202a18cf77ba4472a508cddc4fd40e142c072 Mon Sep 17 00:00:00 2001
From: Pádraig Brady
Date: Fri, 3 Jun 2011 10:27:16 +0100
Subject: 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.
---
src/cp-hash.c | 1 -
src/dd.c | 1 -
src/du.c | 1 -
src/head.c | 1 -
src/kill.c | 1 -
src/ls.c | 2 --
src/stdbuf.c | 1 -
src/timeout.c | 1 -
src/truncate.c | 1 -
9 files changed, 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
#include "system.h"
-#include "same.h"
#include "hash.h"
#include "cp-hash.h"
diff --git a/src/dd.c b/src/dd.c
index 072410e1f..45aa9b970 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -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"
diff --git a/src/du.c b/src/du.c
index 67841a3de..71275a296 100644
--- a/src/du.c
+++ b/src/du.c
@@ -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
#include
#include
-#include
#include "system.h"
#include "error.h"
diff --git a/src/ls.c b/src/ls.c
index af18da07e..80fdb8069 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -53,7 +53,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -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"
--
cgit v1.2.3-70-g09d2