Skip to content
/ git Public
forked from git/git

Commit

Permalink
remote.c: make clear_cas_option() static
Browse files Browse the repository at this point in the history
No external callers exist.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
gitster committed Jan 15, 2015
1 parent 667f7eb commit a355b11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion remote.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit a355b11

Please sign in to comment.