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:
Nanako Shiraishi 2008-07-16 19:42:18 +09:00 committed by Junio C Hamano
parent cb2a1cc298
commit 1121a8786e

View file

@ -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;