Code

Change regerror() declaration from K&R style to ANSI C (C89)
authorFrank Li <lznuaa@gmail.com>
Wed, 16 Sep 2009 08:20:19 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2009 03:00:42 +0000 (20:00 -0700)
commit3f83bf3784d49e162532212230a271a8cc8edbf0
tree717c5f2c5e82ff8588512afc70010fd0b329f64c
parent627735f9bf322c5c964b396f4a55d14e18d34aa2
Change regerror() declaration from K&R style to ANSI C (C89)

The MSVC headers typedef errcode as int, and thus confused the compiler in
the K&R style definition. ANSI style deconfuses it.

Signed-off-by: Frank Li <lznuaa@gmail.com>
Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/regex/regex.c