@matheusbsbs / matheus-bagliano / commits / 8f0e9843bd
Fork 0

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
@@ -1,8 +1,6 @@
1 #include "cache.h"
2 #include "parse-options.h"
3 -#include "stdio.h"
3 #include "strbuf.h"
5 -#include "time.h"
4 #include "help.h"
5 #include "compat/compiler.h"
6