diff options
| author | Junio C Hamano <gitster@pobox.com> | 2017-04-16 23:29:27 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-04-16 23:29:27 -0700 |
| commit | 93a96cced3ff4181bde02b1688c15d5de03db7be (patch) | |
| tree | 2e2c7b3c14372f4a8f74e5772a3ea1ac9319d562 | |
| parent | Merge branch 'jk/snprintf-cleanups' (diff) | |
| parent | remote.[ch]: parse_push_cas_option() can be static (diff) | |
| download | git-93a96cced3ff4181bde02b1688c15d5de03db7be.tar.gz git-93a96cced3ff4181bde02b1688c15d5de03db7be.zip | |
Merge branch 'jc/unused-symbols'
Code cleanup.
* jc/unused-symbols:
remote.[ch]: parse_push_cas_option() can be static
| -rw-r--r-- | remote.c | 2 | ||||
| -rw-r--r-- | remote.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -2279,7 +2279,7 @@ static struct push_cas *add_cas_entry(struct push_cas_option *cas, return entry; } -int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset) +static int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset) { const char *colon; struct push_cas *entry; @@ -290,7 +290,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 int is_empty_cas(const struct push_cas_option *); void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *); |
