summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-07-16 10:42:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-16 15:50:27 (GMT)
commit7ba04d9f3741abd5788ff713b6a16351cbf3773a (patch)
tree24adf2fd7c1f346a10bd0b387dc3bf2ee52e1a47 /cache-tree.c
parent300072f486797232014b2c8a1655424099508679 (diff)
downloadgit-7ba04d9f3741abd5788ff713b6a16351cbf3773a.zip
git-7ba04d9f3741abd5788ff713b6a16351cbf3773a.tar.gz
git-7ba04d9f3741abd5788ff713b6a16351cbf3773a.tar.bz2
cache-tree.c: make cache_tree_find() static
This function is not used by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
-rw-r--r--cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.c b/cache-tree.c
index 73cb340..5f8ee87 100644
--- a/cache-tree.c
+++ b/cache-tree.c
@@ -507,7 +507,7 @@ struct cache_tree *cache_tree_read(const char *buffer, unsigned long size)
return read_one(&buffer, &size);
}
-struct cache_tree *cache_tree_find(struct cache_tree *it, const char *path)
+static struct cache_tree *cache_tree_find(struct cache_tree *it, const char *path)
{
while (*path) {
const char *slash;