diff options
author | Frank Li <lznuaa@gmail.com> | 2009-09-16 10:20:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-18 20:00:42 -0700 |
commit | 3f83bf3784d49e162532212230a271a8cc8edbf0 (patch) | |
tree | 717c5f2c5e82ff8588512afc70010fd0b329f64c /diff.c | |
parent | Add include guards to compat/win32.h (diff) | |
download | tgif-3f83bf3784d49e162532212230a271a8cc8edbf0.tar.xz |
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>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions