From 8f14fbdfe239485f1f9267be8cad07a7ee7d6b29 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Wed, 11 May 2005 23:53:20 +0000 Subject: More glibc backward compatibility cruft. Oh the horror! --- libpthread/nptl/pthread_attr_destroy.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libpthread/nptl/pthread_attr_destroy.c') diff --git a/libpthread/nptl/pthread_attr_destroy.c b/libpthread/nptl/pthread_attr_destroy.c index b8d9a20d3..a30df0c45 100644 --- a/libpthread/nptl/pthread_attr_destroy.c +++ b/libpthread/nptl/pthread_attr_destroy.c @@ -22,7 +22,6 @@ #include #include #include "pthreadP.h" -#include int __pthread_attr_destroy (attr) @@ -33,11 +32,6 @@ __pthread_attr_destroy (attr) assert (sizeof (*attr) >= sizeof (struct pthread_attr)); iattr = (struct pthread_attr *) attr; -#if SHLIB_COMPAT(libpthread, 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) -#endif /* The affinity CPU set might be allocated dynamically. */ free (iattr->cpuset); -- cgit v1.2.3