mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
nptl: Move pthread_barrierattr_init 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:
@ -17,10 +17,10 @@
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "pthreadP.h"
|
||||
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
pthread_barrierattr_init (pthread_barrierattr_t *attr)
|
||||
__pthread_barrierattr_init (pthread_barrierattr_t *attr)
|
||||
{
|
||||
ASSERT_TYPE_SIZE (pthread_barrierattr_t, __SIZEOF_PTHREAD_BARRIERATTR_T);
|
||||
ASSERT_PTHREAD_INTERNAL_SIZE (pthread_barrierattr_t,
|
||||
@ -30,3 +30,10 @@ pthread_barrierattr_init (pthread_barrierattr_t *attr)
|
||||
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libc, __pthread_barrierattr_init,
|
||||
pthread_barrierattr_init, GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_barrierattr_init,
|
||||
pthread_barrierattr_init, GLIBC_2_2);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user