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>
maint
Nanako Shiraishi 2008-07-16 19:42:18 +09:00 committed by Junio C Hamano
parent cb2a1cc298
commit 1121a8786e
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ is_abbreviated:
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;