]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test-hashmap.c: drop unnecessary #includes
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 14 Dec 2013 02:06:40 +0000 (18:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2014 22:33:46 +0000 (14:33 -0800)
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>
test-hashmap.c

index 7e86f886d8808badebe22d7662a64da551f6642f..f5183fb9e82575c86355b690178a8c3d96175eb4 100644 (file)
@@ -1,6 +1,5 @@
-#include "cache.h"
+#include "git-compat-util.h"
 #include "hashmap.h"
-#include <stdio.h>
 
 struct test_entry
 {