Skip to content

Commit

Permalink
pretty.c: mark file-local function static
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jan 12, 2010
1 parent f1c92c6 commit cc57114
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pretty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit cc57114

Please sign in to comment.