Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> --- commit.h | 1 - pretty.c | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/commit.h b/commit.h index e5332ef..24128d7 100644 --- a/commit.h +++ b/commit.h @@ -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, diff --git a/pretty.c b/pretty.c index 8f5bd1a..9001379 100644 --- a/pretty.c +++ b/pretty.c @@ -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'; } -- 1.6.6.280.ge295b7.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html