diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-11 19:32:43 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-11 19:33:15 +0200 |
commit | da069d171482032231e1472f8b256f3c043e585f (patch) | |
tree | bd887bc56ec0d5027a265b4b6a5349032eebd21c /nptl/pthread_attr_setguardsize.c | |
parent | ee092efed40d667b313f0d38c91941499a01bf06 (diff) | |
download | glibc-da069d171482032231e1472f8b256f3c043e585f.tar.gz glibc-da069d171482032231e1472f8b256f3c043e585f.tar.xz glibc-da069d171482032231e1472f8b256f3c043e585f.zip |
nptl: Move pthread_attr_setguardsize into libc
The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_attr_setguardsize.c')
-rw-r--r-- | nptl/pthread_attr_setguardsize.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nptl/pthread_attr_setguardsize.c b/nptl/pthread_attr_setguardsize.c index 58f4733faa..24b5d6b59b 100644 --- a/nptl/pthread_attr_setguardsize.c +++ b/nptl/pthread_attr_setguardsize.c @@ -17,10 +17,10 @@ <https://www.gnu.org/licenses/>. */ #include "pthreadP.h" - +#include <shlib-compat.h> int -pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize) +__pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize) { struct pthread_attr *iattr; @@ -33,3 +33,9 @@ pthread_attr_setguardsize (pthread_attr_t *attr, size_t guardsize) return 0; } +versioned_symbol (libpthread, __pthread_attr_setguardsize, + pthread_attr_setguardsize, GLIBC_2_34); +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34) +compat_symbol (libpthread, __pthread_attr_setguardsize, + pthread_attr_setguardsize, GLIBC_2_1); +#endif |