summaryrefslogtreecommitdiff
path: root/libc/unistd/execv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/execv.c')
-rw-r--r--libc/unistd/execv.c5
1 files changed, 1 insertions, 4 deletions
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 <unistd.h>
-extern char **environ;
-
int execv(__const char *path, char *__const argv[])
{
- return execve(path, argv, environ);
+ return execve(path, argv, __environ);
}