diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-11 22:23:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-11 23:16:16 -0800 |
commit | cc5711424b7ae36276a40c06ede5d95f87ca20f0 (patch) | |
tree | c83ce2d4c10348692e8c9159ef2270618505395b | |
parent | f1c92c6369511396ab3a409b5c9957066b72f6a3 (diff) | |
download | git-cc5711424b7ae36276a40c06ede5d95f87ca20f0.tar.gz |
pretty.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | commit.h | 1 | ||||
-rw-r--r-- | pretty.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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'; } |