Skip to content

Commit 7a06fb0

Browse files
peffgitster
authored andcommitted
wt-status.h: drop stdio.h include
We started including stdio.h to pick up the declaration of "FILE" in f26a001 (Enable wt-status output to a given FILE pointer., 2007-09-17). But there's no need, since headers can assume that git-compat-util.h has been included, which covers stdio. This should just be redundant, and not hurting anything (like pulling in includes out of order) because C files are supposed to always include git-compat-util.h first. But it's worth cleaning up to model good behavior. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 96728b2 commit 7a06fb0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wt-status.h

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

4-
#include <stdio.h>
54
#include "string-list.h"
65
#include "color.h"
76
#include "pathspec.h"

0 commit comments

Comments
 (0)