Browse Source

get rid of pass through func

Mike Frysinger 19 years ago
parent
commit
6bc17e607f
1 changed files with 1 additions and 8 deletions
  1. 1 8
      libc/sysdeps/linux/common/execve.c

+ 1 - 8
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)