[PATCH v2] bugreport: drop extraneous includes
- From
Emily Shaffer <emilyshaffer@google.com>
- Date
- Apr 27, 2020, 23:42 UTC
- Message-ID
- <20200427234231.194456-1-emilyshaffer@google.com>
- In-Reply-To
- <20200427204859.171084-1-emilyshaffer@google.com>
In the generic parts of the source files, system headers like <time.h> and <stdio.h> are supposed to be included indirectly bt including "git-compat-util.h", which manages portability issues.
Drop our explicit inclusions and rely on "cache.h", which includes "git-compat-util.h".
Signed-off-by: Emily Shaffer <emilyshaffer@google.com> --- bugreport.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/bugreport.c b/bugreport.c index 089b939a87..acacca8fef 100644 --- a/bugreport.c +++ b/bugreport.c @@ -1,8 +1,6 @@ #include "cache.h" #include "parse-options.h" -#include "stdio.h" #include "strbuf.h" -#include "time.h" #include "help.h" #include "compat/compiler.h"
-- 2.26.2.303.gf8c07b1a785-goog