summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_attr_destroy.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-05-11 23:53:20 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-05-11 23:53:20 +0000
commit8f14fbdfe239485f1f9267be8cad07a7ee7d6b29 (patch)
tree29dd17b1b3e76343b9818ca0f19a44fece5a5044 /libpthread/nptl/pthread_attr_destroy.c
parent8ba0998b77685cabdeb878c57de3af99965ef62a (diff)
More glibc backward compatibility cruft. Oh the horror!
Diffstat (limited to 'libpthread/nptl/pthread_attr_destroy.c')
-rw-r--r--libpthread/nptl/pthread_attr_destroy.c6
1 files changed, 0 insertions, 6 deletions
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 <string.h>
#include <unistd.h>
#include "pthreadP.h"
-#include <shlib-compat.h>
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);