>From 7a60ac94d63f514319e89a22da82fed77f4d9db3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Fri, 3 Jun 2011 10:27:16 +0100
Subject: [PATCH] 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, 0 insertions(+), 10 deletions(-)
diff --git a/src/cp-hash.c b/src/cp-hash.c
index 31bee71..575d01a 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 072410e..45aa9b9 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 67841a3..71275a2 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 84f9582..1c6e6bc 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 abf8cd1..b94e68c 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 af18da0..80fdb80 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 2f66dd5..f51dc6a 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 649e176..a686225 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 30097ac..b6c7762 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"
--
1.7.5.2