Skip to content

Commit e8fa59b

Browse files
jrngitster
authored andcommitted
test-hashmap.c: drop unnecessary #includes
Per Documentation/CodingGuidelines most C files in git start with a #include of git-compat-util.h or another header file that includes it, such as cache.h or builtin.h. This file doesn't need anything beyond "git-compat-util.h", so use that. Remove a #include of the system header <stdio.h> since it is already included by "git-compat-util.h". Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f7988c1 commit e8fa59b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test-hashmap.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "hashmap.h"
3-
#include <stdio.h>
43

54
struct test_entry
65
{

0 commit comments

Comments
 (0)