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