提交 1121a878 编写于 作者: N Nanako Shiraishi 提交者: Junio C Hamano

parse-options.c: make check_typos() static

This function is not used by any other file.
Signed-off-by: NNanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 cb2a1cc2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册