Skip to content

Commit

Permalink
Remove unnecessary forward declaration of unpack_entry.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Pearce authored and Junio C Hamano committed Aug 22, 2006
1 parent da75601 commit 44c1084
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sha1_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 44c1084

Please sign in to comment.