diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-12-13 18:06:40 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 14:33:46 -0800 |
commit | e8fa59b9081d90299aa5b41412bf93e8856a612b (patch) | |
tree | 437c0f61d543956bfd662b428a0b68204a9549f0 /test-hashmap.c | |
parent | f7988c15ad6801383384ee56970a52f4e485f0cb (diff) | |
download | git-e8fa59b9081d90299aa5b41412bf93e8856a612b.tar.gz |
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 <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-hashmap.c')
-rw-r--r-- | test-hashmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test-hashmap.c b/test-hashmap.c index 7e86f886d8..f5183fb9e8 100644 --- a/test-hashmap.c +++ b/test-hashmap.c @@ -1,6 +1,5 @@ -#include "cache.h" +#include "git-compat-util.h" #include "hashmap.h" -#include <stdio.h> struct test_entry { |