diff options
author | Дилян Палаузов <git-dpa@aegee.org> | 2015-02-13 15:47:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-13 22:16:12 +0100 |
commit | 5d308512ffde7efa6b5aad9549320b394b79b740 (patch) | |
tree | 9fd9bf6a202f65f9ce199f91dc0eb912f549241c /userdiff.c | |
parent | Git 2.3 (diff) | |
download | git-5d308512ffde7efa6b5aad9549320b394b79b740.tar.xz git-5d308512ffde7efa6b5aad9549320b394b79b740.zip |
do not include the same header twice
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: Дилян Палаузов <git-dpa@aegee.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.c')
-rw-r--r-- | userdiff.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |