git-clone-pack: fix sparse warning

Local function that wasn't marked static
This commit is contained in:
Linus Torvalds 2005-07-06 18:51:56 -07:00
parent 84b18a8e63
commit dd7ba8b494

View file

@ -12,7 +12,7 @@ struct ref {
char name[0];
};
struct ref *get_remote_refs(int fd, int nr_match, char **match)
static struct ref *get_remote_refs(int fd, int nr_match, char **match)
{
struct ref *ref_list = NULL, **next_ref = &ref_list;