Skip to content

Commit 0ab311d

Browse files
mat-cJunio C Hamano
authored andcommitted
Remove stale non-static-inline prototype for tree_entry_extract()
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 <[email protected]>
1 parent b18a2be commit 0ab311d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tree-walk.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ static inline int tree_entry_len(const char *name, const unsigned char *sha1)
2727

2828
void update_tree_entry(struct tree_desc *);
2929
void init_tree_desc(struct tree_desc *desc, const void *buf, unsigned long size);
30-
const unsigned char *tree_entry_extract(struct tree_desc *, const char **, unsigned int *);
3130

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

0 commit comments

Comments
 (0)