aboutsummaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-31 13:20:48 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-31 13:20:48 -0700
commit8668976b53446847dfb363887738899a708f15a0 (patch)
tree969fae0513bcc47962c49f7307cafd5bae0bae19 /remote.c
parent068c77a5189584de2a8d9c2ad29e2370159444ae (diff)
downloadgit-8668976b53446847dfb363887738899a708f15a0.tar.gz
git-8668976b53446847dfb363887738899a708f15a0.tar.xz
remote.[ch]: parse_push_cas_option() can be static
Since 068c77a5 ("builtin/send-pack.c: use parse_options API", 2015-08-19), there is no external user of this helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 68901b007..fc2df99b8 100644
--- a/remote.c
+++ b/remote.c
@@ -2178,7 +2178,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;