diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-09 23:06:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-09 23:06:54 +0000 |
commit | e57fc6bbb2e98f9ef3336db698dc7dd260dfc502 (patch) | |
tree | d525aa4fb8a13d6459c6339e4543c840b415e636 /libc/unistd/execvp.c | |
parent | 56139d5a7109db33a7f3e951595a45a0f7f12cd4 (diff) |
Use __environ instead of the GNU extension environ.
-Erik
Diffstat (limited to 'libc/unistd/execvp.c')
-rw-r--r-- | libc/unistd/execvp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/unistd/execvp.c b/libc/unistd/execvp.c index 943303332..e7e496063 100644 --- a/libc/unistd/execvp.c +++ b/libc/unistd/execvp.c @@ -1,10 +1,8 @@ - #include <unistd.h> -extern char **environ; extern int execvep(const char *path, char *__const argv[], char *__const envp[]); int execvp(__const char *path, char *__const argv[]) { - return execvep(path, argv, environ); + return execvep(path, argv, __environ); } |