Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Remove stale non-static-inline prototype for tree_entry_extract()
author
Matthieu Castet
<castet.matthieu@free.fr>
Sun, 13 May 2007 18:57:00 +0000
(11:57 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 13 May 2007 18:57:00 +0000
(11:57 -0700)
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>
tree-walk.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b18a2be
)
diff --git
a/tree-walk.h
b/tree-walk.h
index 43458cf8ce3a115ee22bb3512749d456c93f783c..ee747aba0bec914bd8f5c7a5285c8395ba5f489b 100644
(file)
--- 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 *);