compat/fnmatch: update old-style definition to ANSI
commit38104ca6b98180efc6bdb6a56c1fcc3910e29d68
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Dec 2012 16:54:25 +0000 (19 08:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Dec 2012 18:20:59 +0000 (19 10:20 -0800)
tree0c9408c1d6c7eb196a226e5de28c22acf2ab8324
parent086cb911533d6f4233e84c93b08da289ecc8a229
compat/fnmatch: update old-style definition to ANSI

We try to avoid touching borrowed code, but we encourage people to
write without old-style definition and compile with -Werror these
days, and on platforms that need to use NO_FNMATCH, these three
functions make the compilation fail.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fnmatch/fnmatch.c