diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-05-12 03:40:26 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-05-12 03:40:26 (GMT) |
commit | e07a853a35d8712bb22be7909aef98632f7a3a5f (patch) | |
tree | ede59cd30fc42a21b86251b8a1455797353dff15 | |
parent | cb34e52eea4dde3c195bc6f4eca99b61374834cb (diff) | |
download | Ninja-e07a853a35d8712bb22be7909aef98632f7a3a5f.zip Ninja-e07a853a35d8712bb22be7909aef98632f7a3a5f.tar.gz Ninja-e07a853a35d8712bb22be7909aef98632f7a3a5f.tar.bz2 |
Remove a few unused includes.
-rw-r--r-- | src/build_log.h | 1 | ||||
-rw-r--r-- | src/clean.cc | 3 | ||||
-rw-r--r-- | src/manifest_parser.cc | 4 | ||||
-rw-r--r-- | src/manifest_parser.h | 3 | ||||
-rw-r--r-- | src/manifest_parser_test.cc | 3 | ||||
-rw-r--r-- | src/ninja.cc | 3 | ||||
-rw-r--r-- | src/state.h | 1 | ||||
-rw-r--r-- | 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 <map> #include <string> #include <stdio.h> 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 <assert.h> -#include <errno.h> #include <stdio.h> -#include <string.h> -#include <sys/stat.h> #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 <assert.h> -#include <errno.h> #include <stdio.h> -#include <string.h> +#include <vector> #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 <string> -#include <vector> -#include <limits> 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 <map> +#include <vector> + #include <gtest/gtest.h> #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 <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/stat.h> -#include <sys/types.h> #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 <map> -#include <deque> #include <set> #include <string> #include <vector> 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 <algorithm> -#include <map> #include <assert.h> #include <errno.h> #include <fcntl.h> |