* [PATCH] Remove unnecessary forward declaration of unpack_entry.
@ 2006-08-21 7:10 Shawn Pearce
0 siblings, 0 replies; only message in thread
From: Shawn Pearce @ 2006-08-21 7:10 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
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>
---
sha1_file.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index bb9fa8b..b1c88de 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1075,9 +1075,6 @@ static int packed_object_info(struct pac
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,
--
1.4.2.g0dcb
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-21 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 7:10 [PATCH] Remove unnecessary forward declaration of unpack_entry Shawn Pearce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).