Code

[PATCH] Do not include unused header files.
authorJunio C Hamano <junkio@cox.net>
Sat, 28 May 2005 09:55:16 +0000 (02:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 29 May 2005 18:42:29 +0000 (11:42 -0700)
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>
count-delta.c
diffcore-pathspec.c
diffcore-pickaxe.c

index dd81e9296591d463a7b06570bc24dc201a836b2e..3bcc205f5131a168ac71d9b011d11920e25736f8 100644 (file)
@@ -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)
index 0392d66a55dc425d113d8969c33ccbe7d3c1497e..7f18a6ca3c3b096c2e2a9c38716df259866a5458 100644 (file)
@@ -4,7 +4,6 @@
 #include "cache.h"
 #include "diff.h"
 #include "diffcore.h"
-#include "delta.h"
 
 struct path_spec {
        const char *spec;
index ef9c5c1d217ff2efc1ba9e43052601e2fc18ac22..4c26b422f9d4ea16581bc44cf8a2ce4f5586a7f1 100644 (file)
@@ -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)