From: Linus Torvalds Date: Thu, 7 Jul 2005 01:51:56 +0000 (-0700) Subject: git-clone-pack: fix sparse warning X-Git-Tag: v0.99~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd7ba8b4949535c24e604a37709db0e3be9ccbbc;p=git.git git-clone-pack: fix sparse warning Local function that wasn't marked static --- diff --git a/clone-pack.c b/clone-pack.c index b9b8437dd..31152c7f9 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;