mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_attr_getaffinity_np 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:
@@ -57,10 +57,14 @@ __pthread_attr_getaffinity_new (const pthread_attr_t *attr, size_t cpusetsize,
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libpthread, __pthread_attr_getaffinity_new,
|
||||
pthread_attr_getaffinity_np, GLIBC_2_3_4);
|
||||
pthread_attr_getaffinity_np, GLIBC_2_34);
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_4, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_attr_getaffinity_new,
|
||||
pthread_attr_getaffinity_np, GLIBC_2_3_4);
|
||||
#endif
|
||||
|
||||
|
||||
#if SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
int
|
||||
__pthread_attr_getaffinity_old (const pthread_attr_t *attr, cpu_set_t *cpuset)
|
||||
{
|
||||
|
Reference in New Issue
Block a user