diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-11 10:44:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-11 10:44:13 -0700 |
commit | 76180a2ba45986af0a0399690fef0ecd823348a5 (patch) | |
tree | 1244bfe1d74bf60aeb6dfb143206b409e5c4e599 /compat/winansi.c | |
parent | 5220b7589b09d62e7166799baa98dcd6a1c02804 (diff) | |
parent | 0767172b9068b225c06fd7ce66422e5936ec60a2 (diff) | |
download | git-76180a2ba45986af0a0399690fef0ecd823348a5.tar.gz |
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.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 */ |