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 @@ is_abbreviated:
|
|||||||
return -2;
|
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)
|
if (strlen(arg) < 3)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user