diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:14 -0700 |
commit | fd4df42275b73bdcd938a833053b514125f3f9a3 (patch) | |
tree | f9fd547ca1362126ec9415160a0ee3aaefecfeda /compat/winansi.c | |
parent | Merge branch 'lc/shell-default-value-noexpand' (diff) | |
parent | mingw: let the build succeed with DEVELOPER=1 (diff) | |
download | tgif-fd4df42275b73bdcd938a833053b514125f3f9a3.tar.xz |
Merge branch 'js/mingw-parameter-less-c-functions'
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.c | 2 |
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 */ |