aboutsummaryrefslogtreecommitdiffstats
path: root/tree-walk.h
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2007-05-13 11:57:00 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-13 11:57:00 -0700
commit0ab311d60108f8d93dbcac53623e8e593901b5ea (patch)
treecf323e80768be56a21af0043b0563275019778be /tree-walk.h
parentb18a2be37a0de27902ad6491960ed910083b0310 (diff)
downloadgit-0ab311d60108f8d93dbcac53623e8e593901b5ea.tar.gz
Remove stale non-static-inline prototype for tree_entry_extract()
When 4651ece8 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>
Diffstat (limited to 'tree-walk.h')
-rw-r--r--tree-walk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tree-walk.h b/tree-walk.h
index 43458cf8ce..ee747aba0b 100644
--- a/tree-walk.h
+++ b/tree-walk.h
@@ -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 *);