提交 cc571142 编写于 作者: J Junio C Hamano

pretty.c: mark file-local function static

Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 f1c92c63
......@@ -73,7 +73,6 @@ struct pretty_print_context
struct reflog_walk_info *reflog_info;
};
extern int non_ascii(int);
extern int has_non_ascii(const char *text);
struct rev_info; /* in revision.h, it circularly uses enum cmit_fmt */
extern char *reencode_commit_message(const struct commit *commit,
......
......@@ -83,7 +83,7 @@ static int get_one_line(const char *msg)
}
/* High bit set, or ISO-2022-INT */
int non_ascii(int ch)
static int non_ascii(int ch)
{
return !isascii(ch) || ch == '\033';
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册