X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=utf8.c;h=ab326ac83e0d9e81b06abff58b00a98341adcd36;hb=f22cd7fcc54a98277b3d2b82f1bb0b593658925c;hp=7ddff23fa77fbadf7723bca03d24ad5b8f2baca2;hpb=b30ccd757354ea09b41e4359b0a5ab429d12f02e;p=git.git diff --git a/utf8.c b/utf8.c index 7ddff23fa..ab326ac83 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;