diff options
Diffstat (limited to 'nptl/pthread_attr_getstack.c')
-rw-r--r-- | nptl/pthread_attr_getstack.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/pthread_attr_getstack.c b/nptl/pthread_attr_getstack.c index 570115af10..351aa4da80 100644 --- a/nptl/pthread_attr_getstack.c +++ b/nptl/pthread_attr_getstack.c @@ -17,7 +17,7 @@ <https://www.gnu.org/licenses/>. */ #include "pthreadP.h" - +#include <shlib-compat.h> int __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr, @@ -37,4 +37,9 @@ __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr, return 0; } -strong_alias (__pthread_attr_getstack, pthread_attr_getstack) +versioned_symbol (libpthread, __pthread_attr_getstack, + pthread_attr_getstack, GLIBC_2_34); +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34) +compat_symbol (libpthread, __pthread_attr_getstack, + pthread_attr_getstack, GLIBC_2_2); +#endif |