From dd7ba8b4949535c24e604a37709db0e3be9ccbbc Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 6 Jul 2005 18:51:56 -0700 Subject: [PATCH] git-clone-pack: fix sparse warning Local function that wasn't marked static --- clone-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone-pack.c b/clone-pack.c index b9b8437d..31152c7f 100644 --- a/clone-pack.c +++ b/clone-pack.c @@ -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; -- 2.11.0