summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/execve.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/execve.c')
-rw-r--r--libc/sysdeps/linux/common/execve.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/execve.c b/libc/sysdeps/linux/common/execve.c
index 8a95746ee..bbc7b1dec 100644
--- a/libc/sysdeps/linux/common/execve.c
+++ b/libc/sysdeps/linux/common/execve.c
@@ -16,8 +16,9 @@
static inline _syscall3(int, __syscall_execve, const char *, filename,
char *const *, argv, char *const *, envp);
-int attribute_hidden __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);
}
-strong_alias(__execve,execve)
+libc_hidden_proto(execve)
+libc_hidden_def(execve)