Skip to content

Commit

Permalink
trace2/tr2_tls.h: remove unnecessary include
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
newren authored and gitster committed Dec 26, 2023
1 parent e9bb166 commit 0a4d5b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions trace2/tr2_tgt_normal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions trace2/tr2_tls.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "git-compat-util.h"
#include "strbuf.h"
#include "thread-utils.h"
#include "trace.h"
#include "trace2/tr2_tls.h"
Expand Down
1 change: 0 additions & 1 deletion trace2/tr2_tls.h
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 0a4d5b9

Please sign in to comment.