diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 16:06:43 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 16:06:58 -0700 |
commit | fe84fed04800bc5becb9fba84db98f58007e77f3 (patch) | |
tree | 6e9a03e0637ea863e35bd3de6fdce3f785076ac6 /include/search.h | |
parent | 048dd6813f36c31fa21871d840a0b62f1c3a590f (diff) | |
download | glibc-fe84fed04800bc5becb9fba84db98f58007e77f3.zip glibc-fe84fed04800bc5becb9fba84db98f58007e77f3.tar.gz glibc-fe84fed04800bc5becb9fba84db98f58007e77f3.tar.bz2 |
Hide internal __tdestroy function [BZ #18822]
Hide internal __tdestroy function to allow direct access within libc.so
and libc.a without using GOT nor PLT.
[BZ #18822]
* include/search.h (__tdestroy): Add libc_hidden_proto.
* misc/tsearch.c (__tdestroy): Add libc_hidden_def.
Diffstat (limited to 'include/search.h')
-rw-r--r-- | include/search.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/search.h b/include/search.h index a941959..e176930 100644 --- a/include/search.h +++ b/include/search.h @@ -24,5 +24,6 @@ libc_hidden_proto (__tdelete) extern void __twalk (const void *__root, __action_fn_t action); libc_hidden_proto (__twalk) extern void __tdestroy (void *__root, __free_fn_t freefct); +libc_hidden_proto (__tdestroy) #endif #endif |