aboutsummaryrefslogtreecommitdiff
path: root/compat/winansi.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-06-18 14:38:36 +0200
committerJunio C Hamano <gitster@pobox.com>2016-06-20 12:12:12 -0700
commit0767172b9068b225c06fd7ce66422e5936ec60a2 (patch)
tree38f52511ff89070c4bd9f1513cffe31ed5aec057 /compat/winansi.c
parent0b65a8dbdb38962e700ee16776a3042beb489060 (diff)
downloadgit-0767172b9068b225c06fd7ce66422e5936ec60a2.tar.gz
git-0767172b9068b225c06fd7ce66422e5936ec60a2.tar.xz
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>
Diffstat (limited to 'compat/winansi.c')
-rw-r--r--compat/winansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/winansi.c b/compat/winansi.c
index 3be60ce1c..db4a5b0a3 100644
--- a/compat/winansi.c
+++ b/compat/winansi.c
@@ -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 */