refs.c: make create_cached_refs() static
authorJunio C Hamano <gitster@pobox.com>
Sun, 11 Sep 2011 22:59:26 +0000 (15:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Sep 2011 22:59:26 +0000 (15:59 -0700)
There is nobody outside that calls into this helper function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
diff --git a/refs.c b/refs.c
index 2811d8e0534b3bf8fd3ac4ffe6179f3dbce583cf..2cb93e2f7b4dbf86d832751852bb7337f3578efe 100644 (file)
--- 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;