Fix __stdcall placement and function prototype
commitd7fa500fb598d725bda3427535e87f06caf93ee8
authorFrank Li <lznuaa@gmail.com>
Wed, 16 Sep 2009 08:20:21 +0000 (16 10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2009 03:00:42 +0000 (18 20:00 -0700)
tree763fd4ec5dff827dd9248c4619e6840769f16773
parenta6ca8c62467570d5d227eba4f2b838ce4b9940e8
Fix __stdcall placement and function prototype

MSVC requires __stdcall to be between the functions return value and the
function name, and that the function pointer type is in the form of

    return_type (WINAPI *function_name)(arguments...)

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/mingw.c
run-command.c