aboutsummaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-14 13:48:20 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-14 13:48:20 -0400
commit7405cd1e2bafc046b4311005b94092d74a7a9c66 (patch)
tree8dd1430e73b3d65e43b8c0fbe89486ad917397a6 /src/thread
parent72b25ddb77ca0974b6f448a4290d21154a221474 (diff)
downloadmusl-7405cd1e2bafc046b4311005b94092d74a7a9c66.zip
musl-7405cd1e2bafc046b4311005b94092d74a7a9c66.tar.gz
musl-7405cd1e2bafc046b4311005b94092d74a7a9c66.tar.bz2
fix inconsistent visibility for internal syscall symbols
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/__syscall_cp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thread/__syscall_cp.c b/src/thread/__syscall_cp.c
index a48cee9..faf57b1 100644
--- a/src/thread/__syscall_cp.c
+++ b/src/thread/__syscall_cp.c
@@ -1,6 +1,11 @@
#include "pthread_impl.h"
#include "syscall.h"
+#ifdef SHARED
+__attribute__((__visibility__("hidden")))
+#endif
+long __syscall_cp_c();
+
static long sccp(syscall_arg_t nr,
syscall_arg_t u, syscall_arg_t v, syscall_arg_t w,
syscall_arg_t x, syscall_arg_t y, syscall_arg_t z)