Skip to content

Commit

Permalink
Remove stale non-static-inline prototype for tree_entry_extract()
Browse files Browse the repository at this point in the history
When 4651ece made the function a "static inline", it should
have removd the stale prototype but everybody missed that.

Thomas Glanzmann noticed this broke compilation with Forte12
compiler on his Sun boxes.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Matthieu Castet authored and Junio C Hamano committed May 13, 2007
1 parent b18a2be commit 0ab311d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tree-walk.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static inline int tree_entry_len(const char *name, const unsigned char *sha1)

void update_tree_entry(struct tree_desc *);
void init_tree_desc(struct tree_desc *desc, const void *buf, unsigned long size);
const unsigned char *tree_entry_extract(struct tree_desc *, const char **, unsigned int *);

/* Helper function that does both of the above and returns true for success */
int tree_entry(struct tree_desc *, struct name_entry *);
Expand Down

0 comments on commit 0ab311d

Please sign in to comment.