mingw: let the build succeed with DEVELOPER=1
The recently introduced developer flags identified a couple of old-style function declarations in the Windows-specific code where the parameter list was left empty instead of specifying "void" explicitly. Let's just fix them. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0b65a8dbdb
commit
0767172b90
@ -492,7 +492,7 @@ static inline ioinfo* _pioinfo(int fd)
|
||||
(fd & (IOINFO_ARRAY_ELTS - 1)) * sizeof_ioinfo);
|
||||
}
|
||||
|
||||
static int init_sizeof_ioinfo()
|
||||
static int init_sizeof_ioinfo(void)
|
||||
{
|
||||
int istty, wastty;
|
||||
/* don't init twice */
|
||||
|
Reference in New Issue
Block a user