From 3ab24efeef37f9a148662f8de4412a72e754b69f Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 11 Sep 2011 15:59:26 -0700 Subject: [PATCH] refs.c: make create_cached_refs() static There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano --- refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT