From: Junio C Hamano Date: Tue, 12 Jan 2010 06:23:35 +0000 (-0800) Subject: pretty.c: mark file-local function static X-Git-Tag: v1.7.0-rc0~77^2~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc5711424b7ae36276a40c06ede5d95f87ca20f0;p=git.git pretty.c: mark file-local function static Signed-off-by: Junio C Hamano --- diff --git a/commit.h b/commit.h index e5332efcf..24128d7a2 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 8f5bd1ab7..9001379a9 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'; }