From 5d308512ffde7efa6b5aad9549320b394b79b740 Mon Sep 17 00:00:00 2001 From: Дилян Палаузов Date: Fri, 13 Feb 2015 14:47:39 +0000 Subject: do not include the same header twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A few files include the same header file directly more than once. As all these headers protect themselves against repeated inclusion by the "#ifndef FOO_H / #define FOO_H / ... / #endif" idiom, leave only the first inclusion and remove the later inclusion as a no-op clean-up. Signed-off-by: Дилян Палаузов Signed-off-by: Junio C Hamano --- userdiff.c | 1 - 1 file changed, 1 deletion(-) (limited to 'userdiff.c') diff --git a/userdiff.c b/userdiff.c index fad52d6392..2ccbee50cb 100644 --- a/userdiff.c +++ b/userdiff.c @@ -1,6 +1,5 @@ #include "cache.h" #include "userdiff.h" -#include "cache.h" #include "attr.h" static struct userdiff_driver *drivers; -- cgit v1.3