Code

Remove unnecessary forward declaration of unpack_entry.
authorShawn Pearce <spearce@spearce.org>
Mon, 21 Aug 2006 07:10:36 +0000 (03:10 -0400)
committerJunio 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

index 5f34c69d3a80167a8337b9c6a5382e78f857428f..066cff1fa6e8dd1485876984becdecd7bb4987b6 100644 (file)
@@ -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,