Skip to content

Commit

Permalink
[PATCH] Do not include unused header files.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano authored and Linus Torvalds committed May 29, 2005
1 parent e25de75 commit 844e6e4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion count-delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion diffcore-pathspec.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "cache.h"
#include "diff.h"
#include "diffcore.h"
#include "delta.h"

struct path_spec {
const char *spec;
Expand Down
1 change: 0 additions & 1 deletion diffcore-pickaxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 844e6e4

Please sign in to comment.