Skip to content

Commit 8668976

Browse files
committed
remote.[ch]: parse_push_cas_option() can be static
Since 068c77a ("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 <[email protected]>
1 parent 068c77a commit 8668976

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
@@ -2178,7 +2178,7 @@ static struct push_cas *add_cas_entry(struct push_cas_option *cas,
21782178
return entry;
21792179
}
21802180

2181-
int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset)
2181+
static int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset)
21822182
{
21832183
const char *colon;
21842184
struct push_cas *entry;

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

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