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 /coreutils/timeout.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 'coreutils/timeout.c')
-rw-r--r-- | coreutils/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/timeout.c b/coreutils/timeout.c index 4cdde4366..68188b389 100644 --- a/coreutils/timeout.c +++ b/coreutils/timeout.c | |||
@@ -140,7 +140,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) | |||
140 | if (argv[0] == NULL) | 140 | if (argv[0] == NULL) |
141 | bb_show_usage(); | 141 | bb_show_usage(); |
142 | 142 | ||
143 | if ((ret=mingw_spawn_proc(argv)) == -1) | 143 | if ((ret=mingw_spawn_proc((const char **)argv)) == -1) |
144 | bb_perror_msg_and_die("can't execute '%s'", argv[0]); | 144 | bb_perror_msg_and_die("can't execute '%s'", argv[0]); |
145 | 145 | ||
146 | h = (HANDLE)ret; | 146 | h = (HANDLE)ret; |