about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-07 16:22:13 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-07 16:22:13 -0500
commit3ee67505fe50299d6df6e9bca894fd6b568669fb (patch)
tree47a0a7dea870c55bbebe2294a197f65db330ca1a
parent55aef73f4789a97dc99f30e72776e55924255e1b (diff)
downloadmusl-3ee67505fe50299d6df6e9bca894fd6b568669fb.tar.gz
musl-3ee67505fe50299d6df6e9bca894fd6b568669fb.tar.xz
musl-3ee67505fe50299d6df6e9bca894fd6b568669fb.zip
remove __arch_prctl alias for arch_prctl
if there's evidence of any use for it, we can add it back later. as
far as I can tell, glibc has it only for internal use (and musl uses a
direct syscall in that case rather than a function call), not for
exposing it to applications.
-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