From cd59f61488e2a5653d04cc4229fe3b084e497c80 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 25 Aug 2000 19:52:04 +0000 Subject: * exec.cc (_execve): Change definition according to declaration in newlib/libc/include/sys/unistd.h. --- winsup/cygwin/exec.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/exec.cc') diff --git a/winsup/cygwin/exec.cc b/winsup/cygwin/exec.cc index e6765e87f..76a98074d 100644 --- a/winsup/cygwin/exec.cc +++ b/winsup/cygwin/exec.cc @@ -20,8 +20,8 @@ details. */ in libc/posix/execve.c. It calls us. */ extern "C" -pid_t -_execve (const char *path, const char *const argv[], const char *const envp[]) +int +_execve (const char *path, char *const argv[], char *const envp[]) { static char *const empty_env[] = { 0 }; MALLOC_CHECK; -- cgit v1.2.3