From 9d0011fd83ff38561e75667451d2b6a55320d7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicent=20Mart=C3=AD?= Date: Wed, 16 May 2012 19:23:47 +0200 Subject: tree: Naming conventions --- src/tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tree.h') diff --git a/src/tree.h b/src/tree.h index a5b7f6323..498a90d66 100644 --- a/src/tree.h +++ b/src/tree.h @@ -30,7 +30,7 @@ struct git_treebuilder { }; -GIT_INLINE(unsigned int) entry_is_tree(const struct git_tree_entry *e) +GIT_INLINE(bool) git_tree_entry__is_tree(const struct git_tree_entry *e) { return (S_ISDIR(e->attr) && !S_ISGITLINK(e->attr)); } @@ -45,7 +45,7 @@ int git_tree__parse(git_tree *tree, git_odb_object *obj); * @param prefix the beginning of a path to find in the tree. * @return index of the first item at or after the given prefix. */ -int git_tree_entry_prefix_position(git_tree *tree, const char *prefix); +int git_tree__prefix_position(git_tree *tree, const char *prefix); #endif -- cgit v1.2.1