From e57fc6bbb2e98f9ef3336db698dc7dd260dfc502 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Feb 2001 23:06:54 +0000 Subject: Use __environ instead of the GNU extension environ. -Erik --- libc/unistd/execv.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/unistd/execv.c') diff --git a/libc/unistd/execv.c b/libc/unistd/execv.c index 6c8ba0d97..486f53745 100644 --- a/libc/unistd/execv.c +++ b/libc/unistd/execv.c @@ -1,9 +1,6 @@ - #include -extern char **environ; - int execv(__const char *path, char *__const argv[]) { - return execve(path, argv, environ); + return execve(path, argv, __environ); } -- cgit v1.2.3