summaryrefslogtreecommitdiffstats
path: root/refs.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-09-12 00:59:26 +0200
committerJunio C Hamano <gitster@pobox.com>2011-09-12 00:59:26 +0200
commit3ab24efeef37f9a148662f8de4412a72e754b69f (patch)
tree0db1f1ce448f920b229dad709d3633b75b7deb83 /refs.c
parentRetain caches of submodule refs (diff)
downloadgit-3ab24efeef37f9a148662f8de4412a72e754b69f.tar.xz
git-3ab24efeef37f9a148662f8de4412a72e754b69f.zip
refs.c: make create_cached_refs() static
There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 2811d8e053..2cb93e2f7b 100644
--- a/refs.c
+++ b/refs.c
@@ -185,7 +185,7 @@ static void clear_cached_refs(struct cached_refs *ca)
ca->did_loose = ca->did_packed = 0;
}
-struct cached_refs *create_cached_refs(const char *submodule)
+static struct cached_refs *create_cached_refs(const char *submodule)
{
int len;
struct cached_refs *refs;