diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 05:51:56 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 05:51:56 +0400 |
commit | dd7ba8b4949535c24e604a37709db0e3be9ccbbc (patch) | |
tree | e487c611fba33b05c1f9f307548f815cc593e375 /clone-pack.c | |
parent | 84b18a8e63a0036084f2e2f070634219704a98b2 (diff) |
git-clone-pack: fix sparse warning
Local function that wasn't marked static
Diffstat (limited to 'clone-pack.c')
-rw-r--r-- | clone-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c index b9b8437dd51..31152c7f9ad 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; |