summaryrefslogtreecommitdiff
path: root/libc/unistd/execvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/execvp.c')
-rw-r--r--libc/unistd/execvp.c4
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);
}