about summary refs log tree commit diff
path: root/nptl/pthread_attr_destroy.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-15 10:51:23 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-15 13:06:50 +0200
commitfa57c3019320bb771cfbbc099e3ca31eb4696ad3 (patch)
tree6f0a9495e323730dd0db55fd4d0c8ec36b3889db /nptl/pthread_attr_destroy.c
parent56e098118a31753a9f755948bb5a47bc7111e214 (diff)
downloadglibc-fa57c3019320bb771cfbbc099e3ca31eb4696ad3.tar.gz
glibc-fa57c3019320bb771cfbbc099e3ca31eb4696ad3.tar.xz
glibc-fa57c3019320bb771cfbbc099e3ca31eb4696ad3.zip
nptl: Move pthread_attr_destroy implementation into libc
Diffstat (limited to 'nptl/pthread_attr_destroy.c')
-rw-r--r--nptl/pthread_attr_destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_attr_destroy.c b/nptl/pthread_attr_destroy.c
index e013f3d059..182203139f 100644
--- a/nptl/pthread_attr_destroy.c
+++ b/nptl/pthread_attr_destroy.c
@@ -29,7 +29,7 @@ __pthread_attr_destroy (pthread_attr_t *attr)
 
   iattr = (struct pthread_attr *) attr;
 
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_1)
   /* In old struct pthread_attr, neither next nor cpuset are
      present.  */
   if (__builtin_expect ((iattr->flags & ATTR_FLAG_OLDATTR), 0) == 0)