Skip to content

Commit a355b11

Browse files
committed
remote.c: make clear_cas_option() static
No external callers exist. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 667f7eb commit a355b11

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ struct ref *get_stale_heads(struct refspec *refs, int ref_count, struct ref *fet
21562156
/*
21572157
* Compare-and-swap
21582158
*/
2159-
void clear_cas_option(struct push_cas_option *cas)
2159+
static void clear_cas_option(struct push_cas_option *cas)
21602160
{
21612161
int i;
21622162

remote.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ struct push_cas_option {
260260

261261
extern int parseopt_push_cas_option(const struct option *, const char *arg, int unset);
262262
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 *);
264263

265264
extern int is_empty_cas(const struct push_cas_option *);
266265
void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *);

0 commit comments

Comments
 (0)