summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-09-11 15:59:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-09-11 15:59:26 -0700
commit3ab24efeef37f9a148662f8de4412a72e754b69f (patch)
tree0db1f1ce448f920b229dad709d3633b75b7deb83
parentRetain caches of submodule refs (diff)
downloadtgif-3ab24efeef37f9a148662f8de4412a72e754b69f.tar.xz
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>
-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;