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

nptl: Move pthread_attr_getstacksize 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 b5e75df2a5
commit ee092efed4
64 changed files with 74 additions and 33 deletions

View File

@@ -17,7 +17,7 @@
<https://www.gnu.org/licenses/>. */
#include "pthreadP.h"
#include <shlib-compat.h>
int
__pthread_attr_getstacksize (const pthread_attr_t *attr, size_t *stacksize)
@@ -40,4 +40,9 @@ __pthread_attr_getstacksize (const pthread_attr_t *attr, size_t *stacksize)
return 0;
}
strong_alias (__pthread_attr_getstacksize, pthread_attr_getstacksize)
versioned_symbol (libc, __pthread_attr_getstacksize,
pthread_attr_getstacksize, GLIBC_2_34);
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34)
compat_symbol (libpthread, __pthread_attr_getstacksize,
pthread_attr_getstacksize, GLIBC_2_1);
#endif