summaryrefslogtreecommitdiff
path: root/compat/winansi.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-11 10:44:13 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-11 10:44:13 -0700
commit76180a2ba45986af0a0399690fef0ecd823348a5 (patch)
tree1244bfe1d74bf60aeb6dfb143206b409e5c4e599 /compat/winansi.c
parentMerge branch 'lc/shell-default-value-noexpand' into maint (diff)
parentmingw: let the build succeed with DEVELOPER=1 (diff)
downloadtgif-76180a2ba45986af0a0399690fef0ecd823348a5.tar.xz
Merge branch 'js/mingw-parameter-less-c-functions' into maint
Some platform-specific code had non-ANSI strict declarations of C functions that do not take any parameters, which has been corrected. * js/mingw-parameter-less-c-functions: mingw: let the build succeed with DEVELOPER=1
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 3be60ce1c6..db4a5b0a37 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 */