]> git.ipfire.org Git - thirdparty/git.git/commitdiff
trace2/tr2_tls.h: remove unnecessary include
authorElijah Newren <newren@gmail.com>
Sat, 23 Dec 2023 17:14:58 +0000 (17:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Dec 2023 20:04:32 +0000 (12:04 -0800)
The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though.  Have those
source files explicitly include the headers they need.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trace2/tr2_tgt_normal.c
trace2/tr2_tls.c
trace2/tr2_tls.h

index 38d5ebddf65f8061e9d9dbdf18f35c274bc6a31c..baef48aa6989cede1d8bf62837388ab3379e9604 100644 (file)
@@ -2,6 +2,7 @@
 #include "config.h"
 #include "repository.h"
 #include "run-command.h"
+#include "strbuf.h"
 #include "quote.h"
 #include "version.h"
 #include "trace2/tr2_dst.h"
index 601c9e5036fb27a7f88957559f03821c2fffa4a2..4f75392952b6a429682d8989fe7146487ce0cb6a 100644 (file)
@@ -1,4 +1,5 @@
 #include "git-compat-util.h"
+#include "strbuf.h"
 #include "thread-utils.h"
 #include "trace.h"
 #include "trace2/tr2_tls.h"
index f9049805d4dcd6eea6550042a1887357ad85d6fd..3dfe6557fc46129edfa7a121522e9a6d54973f28 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef TR2_TLS_H
 #define TR2_TLS_H
 
-#include "strbuf.h"
 #include "trace2/tr2_ctr.h"
 #include "trace2/tr2_tmr.h"