Skip to content

Commit

Permalink
test-hashmap.c: drop unnecessary #includes
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jrn authored and gitster committed Feb 24, 2014
1 parent f7988c1 commit e8fa59b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test-hashmap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "cache.h"
#include "git-compat-util.h"
#include "hashmap.h"
#include <stdio.h>

struct test_entry
{
Expand Down

0 comments on commit e8fa59b

Please sign in to comment.