X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.c;h=c45d96e98fffe3411284144b6d836cf499d42ba4;hb=baede9f803ff7becab815481b004bc983d0422c7;hp=3f3c789653a23e829369429da093c1193b53b015;hpb=666599d798102df2d7b32196cadb7dfb737e0b32;p=git.git diff --git a/remote.c b/remote.c index 3f3c78965..c45d96e98 100644 --- a/remote.c +++ b/remote.c @@ -455,7 +455,7 @@ static int verify_refname(char *name, int is_glob) * and dst pointers are always freeable pointers as well * as the refspec pointer itself. */ -void free_refspecs(struct refspec *refspec, int nr_refspec) +static void free_refspecs(struct refspec *refspec, int nr_refspec) { int i; @@ -613,7 +613,7 @@ struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec) return parse_refspec_internal(nr_refspec, refspec, 1, 0); } -struct refspec *parse_push_refspec(int nr_refspec, const char **refspec) +static struct refspec *parse_push_refspec(int nr_refspec, const char **refspec) { return parse_refspec_internal(nr_refspec, refspec, 0, 0); } @@ -783,7 +783,7 @@ struct ref *copy_ref_list(const struct ref *ref) return ret; } -void free_ref(struct ref *ref) +static void free_ref(struct ref *ref) { if (!ref) return;