From: Junio C Hamano Date: Sat, 28 May 2005 09:55:16 +0000 (-0700) Subject: [PATCH] Do not include unused header files. X-Git-Tag: v0.99~421 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=844e6e4d58d3e52eee7fb490bfaeadaa5ea2d59c;p=git.git [PATCH] Do not include unused header files. Some source files were including "delta.h" without actually needing it. Remove them. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/count-delta.c b/count-delta.c index dd81e929..3bcc205f 100644 --- a/count-delta.c +++ b/count-delta.c @@ -6,7 +6,6 @@ #include #include #include -#include "delta.h" #include "count-delta.h" static unsigned long get_hdr_size(const unsigned char **datap) diff --git a/diffcore-pathspec.c b/diffcore-pathspec.c index 0392d66a..7f18a6ca 100644 --- a/diffcore-pathspec.c +++ b/diffcore-pathspec.c @@ -4,7 +4,6 @@ #include "cache.h" #include "diff.h" #include "diffcore.h" -#include "delta.h" struct path_spec { const char *spec; diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c index ef9c5c1d..4c26b422 100644 --- a/diffcore-pickaxe.c +++ b/diffcore-pickaxe.c @@ -4,7 +4,6 @@ #include "cache.h" #include "diff.h" #include "diffcore.h" -#include "delta.h" static int contains(struct diff_filespec *one, const char *needle, unsigned long len)