diff options
author | Stepan Kasal <kasal@ucw.cz> | 2014-06-07 08:46:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-10 13:31:01 -0700 |
commit | a15d4af4497d147bfdb672e121b67db335ec1c21 (patch) | |
tree | 78b5e36ffa59de3fd94ad11a0ec1d759c82ca6c8 /unix-socket.h | |
parent | Win32: move main macro to a function (diff) | |
download | tgif-a15d4af4497d147bfdb672e121b67db335ec1c21.tar.xz |
mingw: avoid const warning
Fix const warnings in http-fetch.c and remote-curl.c main() where is
argv declared as const.
The fix should work for all future declarations of main, no matter
whether the second parameter's type is "char**", "const char**", or
"char *[]".
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unix-socket.h')
0 files changed, 0 insertions, 0 deletions