git-clone-pack: fix sparse warning
authorLinus Torvalds <torvalds@g5.osdl.org>
Thu, 7 Jul 2005 01:51:56 +0000 (18:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 7 Jul 2005 01:51:56 +0000 (18:51 -0700)
Local function that wasn't marked static

clone-pack.c
index b9b8437dd51d0059f056d42300f773ac8324448f..31152c7f9ad5fa1bab3a2e881682a55ab180f0b6 100644 (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;