summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;