aboutsummaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/arch_prctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/linux/arch_prctl.c b/src/linux/arch_prctl.c
index a6ab264..9460365 100644
--- a/src/linux/arch_prctl.c
+++ b/src/linux/arch_prctl.c
@@ -1,9 +1,7 @@
#include "syscall.h"
#ifdef SYS_arch_prctl
-#include "libc.h"
-int __arch_prctl(int code, unsigned long addr)
+int arch_prctl(int code, unsigned long addr)
{
return syscall(SYS_arch_prctl, code, addr);
}
-weak_alias(__arch_prctl, arch_prctl);
#endif