mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_barrier_destroy 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:
@@ -20,10 +20,10 @@
|
||||
#include "pthreadP.h"
|
||||
#include <atomic.h>
|
||||
#include <futex-internal.h>
|
||||
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
pthread_barrier_destroy (pthread_barrier_t *barrier)
|
||||
__pthread_barrier_destroy (pthread_barrier_t *barrier)
|
||||
{
|
||||
struct pthread_barrier *bar = (struct pthread_barrier *) barrier;
|
||||
|
||||
@@ -59,3 +59,10 @@ pthread_barrier_destroy (pthread_barrier_t *barrier)
|
||||
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libc, __pthread_barrier_destroy, pthread_barrier_destroy,
|
||||
GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_barrier_destroy, pthread_barrier_destroy,
|
||||
GLIBC_2_2);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user