diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-27 16:31:36 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-23 12:29:25 +0100 |
commit | 230944a8f7b03d2b27dd65e2649f2067c31c65ed (patch) | |
tree | d31b2df254b831994b2a2edf70141982f03a4446 /win32/system.c | |
parent | d4dc5e4177056ae284c256278a853f51e347f13f (diff) | |
download | busybox-w32-230944a8f7b03d2b27dd65e2649f2067c31c65ed.tar.gz busybox-w32-230944a8f7b03d2b27dd65e2649f2067c31c65ed.tar.bz2 busybox-w32-230944a8f7b03d2b27dd65e2649f2067c31c65ed.zip |
win32/mingw: fix signatures of the *execv*() family of functions
The function signatures were inherited from Git's source code, but are
inconsistent with the declarations in the POSIX standard.
This requires quite a few changes in quite a few callers, unfortunately.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | win32/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/system.c b/win32/system.c index 02aaaa0a1..44a47f861 100644 --- a/win32/system.c +++ b/win32/system.c | |||
@@ -10,7 +10,7 @@ int mingw_system(const char *cmd) | |||
10 | if (cmd == NULL) | 10 | if (cmd == NULL) |
11 | return 1; | 11 | return 1; |
12 | 12 | ||
13 | if ((proc=mingw_spawn_proc((char **)argv)) == -1) | 13 | if ((proc=mingw_spawn_proc(argv)) == -1) |
14 | return -1; | 14 | return -1; |
15 | 15 | ||
16 | h = (HANDLE)proc; | 16 | h = (HANDLE)proc; |