]> git.ipfire.org Git - thirdparty/git.git/commit - utf8.c
wcwidth redeclaration
authorAmos Waterland <apw@us.ibm.com>
Tue, 8 May 2007 04:46:08 +0000 (00:46 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 May 2007 05:02:40 +0000 (22:02 -0700)
commitb51be13c9c83621551824876ee037151a92f0323
treef6e7e1465a416eb2c1af3257964f081bb3cafaff
parent52c80037e423c7e7806cf2f198ed978dc36fa654
wcwidth redeclaration

Build fails for git 1.5.1.3 on AIX, with the message:

utf8.c:66: error: conflicting types for 'wcwidth'
/.../lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.3/include/string.h:266: error: previous declaration of 'wcwidth' was here

Fix this by renaming our static variant to our own name.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
utf8.c