Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Remove unnecessary forward declaration of unpack_entry.
author
Shawn Pearce
<spearce@spearce.org>
Mon, 21 Aug 2006 07:10:36 +0000
(
03:10
-0400)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 22 Aug 2006 03:26:14 +0000
(20:26 -0700)
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>
sha1_file.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
da75601
)
diff --git
a/sha1_file.c
b/sha1_file.c
index 5f34c69d3a80167a8337b9c6a5382e78f857428f..066cff1fa6e8dd1485876984becdecd7bb4987b6 100644
(file)
--- 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,