summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/execve.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-11 04:08:38 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-11 04:08:38 +0000
commit6bc17e607f7b0856ee320979a8c2303173734988 (patch)
treec42d0d00c57cec1f0af8d54a7f5d2510086084ff /libc/sysdeps/linux/common/execve.c
parente8f50b1894e5566b79a3e6c0c998476b697a8584 (diff)
get rid of pass through func
Diffstat (limited to 'libc/sysdeps/linux/common/execve.c')
-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)