From e07a853a35d8712bb22be7909aef98632f7a3a5f Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 11 May 2013 20:40:26 -0700 Subject: Remove a few unused includes. --- src/build_log.h | 1 - src/clean.cc | 3 --- src/manifest_parser.cc | 4 +--- src/manifest_parser.h | 3 --- src/manifest_parser_test.cc | 3 +++ src/ninja.cc | 3 --- src/state.h | 1 - src/subprocess-posix.cc | 2 -- 8 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/build_log.h b/src/build_log.h index 231bfd9..6eae89f 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -15,7 +15,6 @@ #ifndef NINJA_BUILD_LOG_H_ #define NINJA_BUILD_LOG_H_ -#include #include #include using namespace std; diff --git a/src/clean.cc b/src/clean.cc index 12afb98..5d1974e 100644 --- a/src/clean.cc +++ b/src/clean.cc @@ -15,10 +15,7 @@ #include "clean.h" #include -#include #include -#include -#include #include "disk_interface.h" #include "graph.h" diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc index a581114..3593567 100644 --- a/src/manifest_parser.cc +++ b/src/manifest_parser.cc @@ -14,10 +14,8 @@ #include "manifest_parser.h" -#include -#include #include -#include +#include #include "graph.h" #include "metrics.h" diff --git a/src/manifest_parser.h b/src/manifest_parser.h index a08e5af..967dfdd 100644 --- a/src/manifest_parser.h +++ b/src/manifest_parser.h @@ -16,13 +16,10 @@ #define NINJA_MANIFEST_PARSER_H_ #include -#include -#include using namespace std; #include "lexer.h" -#include "string_piece.h" struct BindingEnv; struct EvalString; diff --git a/src/manifest_parser_test.cc b/src/manifest_parser_test.cc index be749f2..2638edc 100644 --- a/src/manifest_parser_test.cc +++ b/src/manifest_parser_test.cc @@ -14,6 +14,9 @@ #include "manifest_parser.h" +#include +#include + #include #include "graph.h" diff --git a/src/ninja.cc b/src/ninja.cc index 8ba1aa6..b4797ed 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -17,8 +17,6 @@ #include #include #include -#include -#include #ifdef _WIN32 #include "getopt.h" @@ -35,7 +33,6 @@ #include "deps_log.h" #include "clean.h" #include "disk_interface.h" -#include "edit_distance.h" #include "explain.h" #include "graph.h" #include "graphviz.h" diff --git a/src/state.h b/src/state.h index 7e3aead..bde75ff 100644 --- a/src/state.h +++ b/src/state.h @@ -16,7 +16,6 @@ #define NINJA_STATE_H_ #include -#include #include #include #include diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc index c56d147..339edfe 100644 --- a/src/subprocess-posix.cc +++ b/src/subprocess-posix.cc @@ -14,8 +14,6 @@ #include "subprocess.h" -#include -#include #include #include #include -- cgit v0.12