diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-08-15 19:12:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-08-15 19:12:21 +0200 |
commit | a635d756ff930724d40fe98539b514ffce002375 (patch) | |
tree | 944e66eaf822ba61832d6def9669891d5189d200 /nptl/pthread_attr_init.c | |
parent | 23d2e5faf0bca6d9b31bef4aa162b95ee64cbfc6 (diff) | |
download | glibc-a635d756ff930724d40fe98539b514ffce002375.zip glibc-a635d756ff930724d40fe98539b514ffce002375.tar.gz glibc-a635d756ff930724d40fe98539b514ffce002375.tar.bz2 |
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.
Diffstat (limited to 'nptl/pthread_attr_init.c')
-rw-r--r-- | nptl/pthread_attr_init.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nptl/pthread_attr_init.c b/nptl/pthread_attr_init.c index f684b12..f7ddf62 100644 --- a/nptl/pthread_attr_init.c +++ b/nptl/pthread_attr_init.c @@ -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 |