Change regerror() declaration from K&R style to ANSI C (C89)
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 <b99eefcf732eea439715b026468a4bc1ee869eb4@gmail.com>
Signed-off-by: Marius Storm-Olsen <8f83a7651cbcb35ddfdbac8369a2a45e95ea46b6@gmail.com>
Acked-by: Johannes Sixt <fd432345609ae4d58c1aa629cb66ba96d1391622@kdbg.org>
Signed-off-by: Junio C Hamano <a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git