From cd59f61488e2a5653d04cc4229fe3b084e497c80 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 25 Aug 2000 19:52:04 +0000 Subject: [PATCH] * exec.cc (_execve): Change definition according to declaration in newlib/libc/include/sys/unistd.h. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exec.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 075cbade1..9f67f40d9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 25 21:49:00 2000 Corinna Vinschen + + * exec.cc (_execve): Change definition according to declaration in + newlib/libc/include/sys/unistd.h. + Thu Aug 24 22:17:19 2000 Christopher Faylor * external.cc (cygwin_internal): Add CW_INIT_EXCEPTIONS to allow cygwin 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;