X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=utf8.c;h=84cfc72e6db144880febad0a4ffa64800919fb6d;hb=8718e875080767f2c8d06c55c3fb5a6dddf0e5a0;hp=6db9cd9a078266538d8289a98b49d4ec82d39ae7;hpb=b7380fa7a9adb52860eef7e8885fb8bc179beae1;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;