@matheusbsbs / matheus-bagliano / commits / 44c10841ea
Fork 0

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>

Shawn Pearce committed Aug 21, 2006 at 03:10 UTC 44c10841ea3edeef47cc6be0fdba5058344e2e95
1 file changed -3
sha1_file.c
-3
@@ -1057,9 +1057,6 @@ static int packed_object_info(struct pack_entry *entry,
1057 return 0;
1058 }
1059
1060 -/* forward declaration for a mutually recursive function */
1061 -static void *unpack_entry(struct pack_entry *, char *, unsigned long *);
1062 -
1060 static void *unpack_delta_entry(unsigned char *base_sha1,
1061 unsigned long delta_size,
1062 unsigned long left,