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>
This commit is contained in:
2
refs.c
2
refs.c
@ -185,7 +185,7 @@ static void clear_cached_refs(struct cached_refs *ca)
|
|||||||
ca->did_loose = ca->did_packed = 0;
|
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;
|
int len;
|
||||||
struct cached_refs *refs;
|
struct cached_refs *refs;
|
||||||
|
Reference in New Issue
Block a user