bugreport: drop extraneous includes
In the generic parts of the source files, system headers like <time.h> and <stdio.h> are supposed to be included indirectly by 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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Emily Shaffer committed
Apr 27, 2020 at 16:42 UTC
8f0e9843bdf82b04591416367bee3817991e0722
1 file changed
-2
bugreport.c
-2
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"