about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 a6ab2644..94603658 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