diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:56:00 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-05 05:56:00 +0000 |
commit | 3f25366c3b89ac0573906b80f32e017091d007ea (patch) | |
tree | b6144b02f6fea01ca43d36ed9df68aecfd74c49e /libpthread/nptl/pthread_attr_destroy.c | |
parent | de94610a30e6e4d6fc0999104e7b278b57819fec (diff) | |
download | uClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.bz2 uClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.xz |
Get rid of versioning and shared library compatibility code. We want to start with as clean of a slate as possible. Whip me, beat me, make me shrink the code.
Diffstat (limited to 'libpthread/nptl/pthread_attr_destroy.c')
-rw-r--r-- | libpthread/nptl/pthread_attr_destroy.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libpthread/nptl/pthread_attr_destroy.c b/libpthread/nptl/pthread_attr_destroy.c index b8d9a20d3..cae7ca0b1 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,13 +32,8 @@ __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); + /* The affinity CPU set might be allocated dynamically. */ + free (iattr->cpuset); return 0; } |