X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=utf8.c;h=84cfc72e6db144880febad0a4ffa64800919fb6d;hb=9659df52822a2fd7f85725d2ff680871b1f3bdc7;hp=6db9cd9a078266538d8289a98b49d4ec82d39ae7;hpb=ad336054068074ed614d0bb54bb169e5263499d7;p=git.git diff --git a/utf8.c b/utf8.c index 6db9cd9a0..84cfc72e6 100644 --- a/utf8.c +++ b/utf8.c @@ -163,7 +163,7 @@ static int git_wcwidth(ucs_char_t ch) * If the string was not a valid UTF-8, *start pointer is set to NULL * and the return value is undefined. */ -ucs_char_t pick_one_utf8_char(const char **start, size_t *remainder_p) +static ucs_char_t pick_one_utf8_char(const char **start, size_t *remainder_p) { unsigned char *s = (unsigned char *)*start; ucs_char_t ch;