Skip to content

Commit 0a4d5b9

Browse files
newrengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e9bb166 commit 0a4d5b9

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

trace2/tr2_tgt_normal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "config.h"
33
#include "repository.h"
44
#include "run-command.h"
5+
#include "strbuf.h"
56
#include "quote.h"
67
#include "version.h"
78
#include "trace2/tr2_dst.h"

trace2/tr2_tls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "git-compat-util.h"
2+
#include "strbuf.h"
23
#include "thread-utils.h"
34
#include "trace.h"
45
#include "trace2/tr2_tls.h"

trace2/tr2_tls.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef TR2_TLS_H
22
#define TR2_TLS_H
33

4-
#include "strbuf.h"
54
#include "trace2/tr2_ctr.h"
65
#include "trace2/tr2_tmr.h"
76

0 commit comments

Comments
 (0)