git-commit-vandalism/compat/regex
Frank Li de831726de 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.

This patch was originally applied as v1.6.5-rc2~23 but needs to be
re-applied since compat/regex was overwritten by Ævar Arnfjörð
Bjarmason with the gawk regex engine.

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>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-08-18 14:06:54 -07:00
..
regcomp.c Change regerror() declaration from K&R style to ANSI C (C89) 2010-08-18 14:06:54 -07:00
regex_internal.c compat/regex: use the regex engine from gawk for compat 2010-08-18 14:06:48 -07:00
regex_internal.h compat/regex: use the regex engine from gawk for compat 2010-08-18 14:06:48 -07:00
regex.c compat/regex: use the regex engine from gawk for compat 2010-08-18 14:06:48 -07:00
regex.h compat/regex: get the gawk regex engine to compile within git 2010-08-18 14:06:54 -07:00
regexec.c compat/regex: use the regex engine from gawk for compat 2010-08-18 14:06:48 -07:00