aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-27 16:31:36 +0200
committerRon Yorston <rmy@pobox.com>2017-08-23 12:29:25 +0100
commit230944a8f7b03d2b27dd65e2649f2067c31c65ed (patch)
treed31b2df254b831994b2a2edf70141982f03a4446 /include
parentd4dc5e4177056ae284c256278a853f51e347f13f (diff)
downloadbusybox-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 'include')
-rw-r--r--include/mingw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 05e0b20fc..65d32391f 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -456,10 +456,10 @@ DIR *mingw_opendir(const char *path);
456#define PRIuMAX "I64u" 456#define PRIuMAX "I64u"
457 457
458pid_t FAST_FUNC mingw_spawn(char **argv); 458pid_t FAST_FUNC mingw_spawn(char **argv);
459intptr_t FAST_FUNC mingw_spawn_proc(char **argv); 459intptr_t FAST_FUNC mingw_spawn_proc(const char **argv);
460int mingw_execv(const char *cmd, const char *const *argv); 460int mingw_execv(const char *cmd, char *const *argv);
461int mingw_execvp(const char *cmd, const char *const *argv); 461int mingw_execvp(const char *cmd, char *const *argv);
462int mingw_execve(const char *cmd, const char *const *argv, const char *const *envp); 462int mingw_execve(const char *cmd, char *const *argv, char *const *envp);
463#define spawn mingw_spawn 463#define spawn mingw_spawn
464#define execvp mingw_execvp 464#define execvp mingw_execvp
465#define execve mingw_execve 465#define execve mingw_execve