diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-01-14 14:58:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-15 11:05:48 -0800 |
commit | a355b11daba73f8a73866a318d5eb8550285332b (patch) | |
tree | 576372e4d0ea92241031c1de7275a2a5c6402004 | |
parent | 667f7eb2eac5b5b369dc2a3f444e6057563e683a (diff) | |
download | git-a355b11daba73f8a73866a318d5eb8550285332b.tar.gz |
remote.c: make clear_cas_option() static
No external callers exist.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | remote.c | 2 | ||||
-rw-r--r-- | remote.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -2156,7 +2156,7 @@ struct ref *get_stale_heads(struct refspec *refs, int ref_count, struct ref *fet /* * Compare-and-swap */ -void clear_cas_option(struct push_cas_option *cas) +static void clear_cas_option(struct push_cas_option *cas) { int i; @@ -260,7 +260,6 @@ struct push_cas_option { extern int parseopt_push_cas_option(const struct option *, const char *arg, int unset); extern int parse_push_cas_option(struct push_cas_option *, const char *arg, int unset); -extern void clear_cas_option(struct push_cas_option *); extern int is_empty_cas(const struct push_cas_option *); void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *); |