Browse Source

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 17 years ago committed by Junio C Hamano
parent
commit
1121a8786e
  1. 2
      parse-options.c

2
parse-options.c

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

Loading…
Cancel
Save