summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/execve.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/common/execve.c b/libc/sysdeps/linux/common/execve.c
index 4e97795b4..7183f481f 100644
--- a/libc/sysdeps/linux/common/execve.c
+++ b/libc/sysdeps/linux/common/execve.c
@@ -13,13 +13,6 @@
#include <sys/param.h>
libc_hidden_proto(execve)
-
-#define __NR___syscall_execve __NR_execve
-static inline _syscall3(int, __syscall_execve, const char *, filename,
+_syscall3(int, execve, const char *, filename,
char *const *, argv, char *const *, envp);
-
-int execve(const char * filename, char *const * argv, char *const * envp)
-{
- return __syscall_execve(filename, argv, envp);
-}
libc_hidden_def(execve)