commit | 3f83bf3784d49e162532212230a271a8cc8edbf0 | [log] [tgz] |
---|---|---|
author | Frank Li <lznuaa@gmail.com> | Wed Sep 16 10:20:19 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Sep 18 20:00:42 2009 -0700 |
tree | 717c5f2c5e82ff8588512afc70010fd0b329f64c | |
parent | 627735f9bf322c5c964b396f4a55d14e18d34aa2 [diff] |
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>