aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-08-21 03:10:36 -0400
committerJunio C Hamano <junkio@cox.net>2006-08-21 20:26:14 -0700
commit44c10841ea3edeef47cc6be0fdba5058344e2e95 (patch)
treec9ca390c1a9bc13e87f8ca77287b30b116af3486
parentda7560110f91088ee2a664e98f75ff54e0d9e1e1 (diff)
downloadgit-44c10841ea3edeef47cc6be0fdba5058344e2e95.tar.gz
git-44c10841ea3edeef47cc6be0fdba5058344e2e95.tar.xz
Remove unnecessary forward declaration of unpack_entry.
This declaration probably used to be necessary but the code has been refactored since to use unpack_entry_gently instead. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--sha1_file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 5f34c69d3..066cff1fa 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1057,9 +1057,6 @@ static int packed_object_info(struct pack_entry *entry,
return 0;
}
-/* forward declaration for a mutually recursive function */
-static void *unpack_entry(struct pack_entry *, char *, unsigned long *);
-
static void *unpack_delta_entry(unsigned char *base_sha1,
unsigned long delta_size,
unsigned long left,