summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-16 05:44:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-16 05:58:21 (GMT)
commit357e9c69c9069b2764d1b58d0074945f8a33ff09 (patch)
tree91dc50a0cf55df7b403c8b49b04df3eb65d5f99e /read-cache.c
parentea03a8e181261b5efda10376ff160dc8df084104 (diff)
downloadgit-357e9c69c9069b2764d1b58d0074945f8a33ff09.zip
git-357e9c69c9069b2764d1b58d0074945f8a33ff09.tar.gz
git-357e9c69c9069b2764d1b58d0074945f8a33ff09.tar.bz2
read-cache.c: mark a private file-scope symbol as static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 79e3bbe..fda78bc 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -424,7 +424,7 @@ int cache_name_compare(const char *name1, int len1, const char *name2, int len2)
return cache_name_stage_compare(name1, len1, 0, name2, len2, 0);
}
-int index_name_stage_pos(const struct index_state *istate, const char *name, int namelen, int stage)
+static int index_name_stage_pos(const struct index_state *istate, const char *name, int namelen, int stage)
{
int first, last;