remote.c: make clear_cas_option() static
No external callers exist. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jan 14, 2015 at 14:58 UTC
a355b11daba73f8a73866a318d5eb8550285332b
2 files changed
+1
-2
remote.c
+1
-1
@@ -2156,7 +2156,7 @@ struct ref *get_stale_heads(struct refspec *refs, int ref_count, struct ref *fet
2156
/*
2157
* Compare-and-swap
2158
*/
2159
-void clear_cas_option(struct push_cas_option *cas)
2159
+static void clear_cas_option(struct push_cas_option *cas)
2160
{
2161
int i;
2162
remote.h
-1
@@ -260,7 +260,6 @@ struct push_cas_option {
260
261
extern int parseopt_push_cas_option(const struct option *, const char *arg, int unset);
262
extern int parse_push_cas_option(struct push_cas_option *, const char *arg, int unset);
263
-extern void clear_cas_option(struct push_cas_option *);
263
264
extern int is_empty_cas(const struct push_cas_option *);
265
void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *);