commit | a75869f0b2528079503d2e4dd2174142ab1df904 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue May 20 20:32:28 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue May 20 20:32:28 2014 -0700 |
tree | 4db07f566deaee0838dbdc696d06f48e06781bd4 | |
parent | 3d2bc5d6c8f08e587a8dad848829f98776549ba6 [diff] [blame] |
Hide __set_tls. Bug: 11156955 Change-Id: If82c10ae412651361d09591017d1c3a411bd6f0b
diff --git a/libc/arch-x86_64/bionic/__set_tls.c b/libc/arch-x86_64/bionic/__set_tls.c index cc7a5f4..6845444 100644 --- a/libc/arch-x86_64/bionic/__set_tls.c +++ b/libc/arch-x86_64/bionic/__set_tls.c
@@ -31,6 +31,6 @@ extern int __arch_prctl(int, unsigned long); -int __set_tls(void* ptr) { +__LIBC_HIDDEN__ int __set_tls(void* ptr) { return __arch_prctl(ARCH_SET_FS, (uintptr_t) ptr); }