diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-28 02:55:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-29 11:42:29 -0700 |
commit | 844e6e4d58d3e52eee7fb490bfaeadaa5ea2d59c (patch) | |
tree | bdb1dc1fd40228ffd7521d46052e39f6ae4fb90a | |
parent | e25de75696dc99f327c8dd8e2cba937939e281ca (diff) | |
download | git-844e6e4d58d3e52eee7fb490bfaeadaa5ea2d59c.tar.gz git-844e6e4d58d3e52eee7fb490bfaeadaa5ea2d59c.tar.xz |
[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 <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | count-delta.c | 1 | ||||
-rw-r--r-- | diffcore-pathspec.c | 1 | ||||
-rw-r--r-- | diffcore-pickaxe.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/count-delta.c b/count-delta.c index dd81e9296..3bcc205f5 100644 --- a/count-delta.c +++ b/count-delta.c @@ -6,7 +6,6 @@ #include <stdlib.h> #include <string.h> #include <limits.h> -#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 0392d66a5..7f18a6ca3 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 ef9c5c1d2..4c26b422f 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) |