trace2/tr2_tls.h: remove unnecessary include
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>
Elijah Newren committed
Dec 23, 2023 at 17:14 UTC
0a4d5b97720a847d00e6553aeec0984de1e01472
3 files changed
+2
-1
trace2/tr2_tgt_normal.c
+1
@@ -2,6 +2,7 @@
2
#include "config.h"
3
#include "repository.h"
4
#include "run-command.h"
5
+#include "strbuf.h"
6
#include "quote.h"
7
#include "version.h"
8
#include "trace2/tr2_dst.h"
trace2/tr2_tls.c
+1
@@ -1,4 +1,5 @@
1
#include "git-compat-util.h"
2
+#include "strbuf.h"
3
#include "thread-utils.h"
4
#include "trace.h"
5
#include "trace2/tr2_tls.h"
trace2/tr2_tls.h
-1
@@ -1,7 +1,6 @@
1
#ifndef TR2_TLS_H
2
#define TR2_TLS_H
3
4
-#include "strbuf.h"
4
#include "trace2/tr2_ctr.h"
5
#include "trace2/tr2_tmr.h"
6