aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 18:51:56 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 18:51:56 -0700
commitdd7ba8b4949535c24e604a37709db0e3be9ccbbc (patch)
treee487c611fba33b05c1f9f307548f815cc593e375
parent84b18a8e63a0036084f2e2f070634219704a98b2 (diff)
downloadgit-dd7ba8b4949535c24e604a37709db0e3be9ccbbc.tar.gz
git-dd7ba8b4949535c24e604a37709db0e3be9ccbbc.tar.xz
git-clone-pack: fix sparse warning
Local function that wasn't marked static
-rw-r--r--clone-pack.c2
1 files changed, 1 insertions, 1 deletions
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;