1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

nptl: Move pthread_attr_getguardsize into libc

The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2021-05-11 19:32:43 +02:00
parent f5bc5f6e2a
commit b5668f08ea
64 changed files with 75 additions and 33 deletions

View File

@@ -17,10 +17,10 @@
<https://www.gnu.org/licenses/>. */
#include "pthreadP.h"
#include <shlib-compat.h>
int
pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
__pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
{
struct pthread_attr *iattr;
@@ -30,3 +30,9 @@ pthread_attr_getguardsize (const pthread_attr_t *attr, size_t *guardsize)
return 0;
}
versioned_symbol (libpthread, __pthread_attr_getguardsize,
pthread_attr_getguardsize, GLIBC_2_34);
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34)
compat_symbol (libpthread, __pthread_attr_getguardsize,
pthread_attr_getguardsize, GLIBC_2_1);
#endif