mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
nptl: Move pthread_attr_init implementation into libc
Both the original GLIB_2.0 version and the current GLIBC_2.1 version need to be moved.
This commit is contained in:
@ -48,11 +48,10 @@ __pthread_attr_init_2_1 (pthread_attr_t *attr)
|
||||
|
||||
return 0;
|
||||
}
|
||||
versioned_symbol (libpthread, __pthread_attr_init_2_1, pthread_attr_init,
|
||||
GLIBC_2_1);
|
||||
versioned_symbol (libc, __pthread_attr_init_2_1, pthread_attr_init, GLIBC_2_1);
|
||||
|
||||
|
||||
#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
|
||||
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_1)
|
||||
int
|
||||
__pthread_attr_init_2_0 (pthread_attr_t *attr)
|
||||
{
|
||||
@ -81,6 +80,5 @@ __pthread_attr_init_2_0 (pthread_attr_t *attr)
|
||||
old attribute structure. */
|
||||
return 0;
|
||||
}
|
||||
compat_symbol (libpthread, __pthread_attr_init_2_0, pthread_attr_init,
|
||||
GLIBC_2_0);
|
||||
compat_symbol (libc, __pthread_attr_init_2_0, pthread_attr_init, GLIBC_2_0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user