about summary refs log tree commit diff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-04-30 18:50:04 +0100
committerRich Felker <dalias@aerifal.cx>2015-04-30 16:22:57 -0400
commit18f75b80fd67fd7348fcfb807216f654597b592f (patch)
tree5c09a03a4c5d682eccf1ce5d727affc6beea593b /arch/aarch64
parent4e50b2e4b5c32b804324eb6967a9ca72c9a2b654 (diff)
downloadmusl-18f75b80fd67fd7348fcfb807216f654597b592f.tar.gz
musl-18f75b80fd67fd7348fcfb807216f654597b592f.tar.xz
musl-18f75b80fd67fd7348fcfb807216f654597b592f.zip
fix __syscall declaration with wrong visibility in syscall_arch.h
remove __syscall declaration where it is not needed (aarch64, arm,
microblaze, or1k) and add the hidden attribute where it is (mips).
Diffstat (limited to 'arch/aarch64')
-rw-r--r--arch/aarch64/syscall_arch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/aarch64/syscall_arch.h b/arch/aarch64/syscall_arch.h
index ec7cc785..a92bff97 100644
--- a/arch/aarch64/syscall_arch.h
+++ b/arch/aarch64/syscall_arch.h
@@ -3,8 +3,6 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
 
-long (__syscall)(long, ...);
-
 #define __asm_syscall(...) do { \
 	__asm__ __volatile__ ( "svc 0" \
 	: "=r"(x0) : __VA_ARGS__ : "memory", "cc"); \