Skip to content

Commit

Permalink
refs.c: make create_cached_refs() static
Browse files Browse the repository at this point in the history
There is nobody outside that calls into this helper function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Sep 11, 2011
1 parent 0e88c13 commit 3ab24ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3ab24ef

Please sign in to comment.