mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
parse-options.c: make check_typos() static
This function is not used by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
cb2a1cc298
commit
1121a8786e
|
@ -214,7 +214,7 @@ static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg,
|
|||
return -2;
|
||||
}
|
||||
|
||||
void check_typos(const char *arg, const struct option *options)
|
||||
static void check_typos(const char *arg, const struct option *options)
|
||||
{
|
||||
if (strlen(arg) < 3)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue