summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-12 06:32:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-12 09:06:09 (GMT)
commit5e133b8cf9b9b7f9483c47d19ffb40e10827ae51 (patch)
tree7ef13dd12201bcc3369f7d948186a3110fde69d4 /utf8.c
parentcb58c932a58e704b840ede37c55ce3e59a9e7544 (diff)
downloadgit-5e133b8cf9b9b7f9483c47d19ffb40e10827ae51.zip
git-5e133b8cf9b9b7f9483c47d19ffb40e10827ae51.tar.gz
git-5e133b8cf9b9b7f9483c47d19ffb40e10827ae51.tar.bz2
utf8.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 7ddff23..ab326ac 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;