[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>
This commit is contained in:
Junio C Hamano 2005-05-28 02:55:16 -07:00 committed by Linus Torvalds
parent e25de75696
commit 844e6e4d58
3 changed files with 0 additions and 3 deletions

View File

@ -6,7 +6,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include "delta.h"
#include "count-delta.h" #include "count-delta.h"
static unsigned long get_hdr_size(const unsigned char **datap) static unsigned long get_hdr_size(const unsigned char **datap)

View File

@ -4,7 +4,6 @@
#include "cache.h" #include "cache.h"
#include "diff.h" #include "diff.h"
#include "diffcore.h" #include "diffcore.h"
#include "delta.h"
struct path_spec { struct path_spec {
const char *spec; const char *spec;

View File

@ -4,7 +4,6 @@
#include "cache.h" #include "cache.h"
#include "diff.h" #include "diff.h"
#include "diffcore.h" #include "diffcore.h"
#include "delta.h"
static int contains(struct diff_filespec *one, static int contains(struct diff_filespec *one,
const char *needle, unsigned long len) const char *needle, unsigned long len)