aboutsummaryrefslogtreecommitdiffstats
path: root/clone-pack.c
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 /clone-pack.c
parent84b18a8e63a0036084f2e2f070634219704a98b2 (diff)
downloadgit-dd7ba8b4949535c24e604a37709db0e3be9ccbbc.tar.gz
git-clone-pack: fix sparse warning
Local function that wasn't marked static
Diffstat (limited to 'clone-pack.c')
-rw-r--r--clone-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c
index b9b8437dd5..31152c7f9a 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;