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/sysdeps/pthread | |
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/sysdeps/pthread')
4 files changed, 4 insertions, 20 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c index 1eac8ecf8..f767dcf39 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c @@ -23,8 +23,6 @@ #include <lowlevellock.h> #include <pthread.h> #include <pthreadP.h> - -#include <shlib-compat.h> #include <kernel-features.h> @@ -75,6 +73,4 @@ __pthread_cond_broadcast (cond) return 0; } - -versioned_symbol (libpthread, __pthread_cond_broadcast, pthread_cond_broadcast, - GLIBC_2_3_2); +weak_alias(__pthread_cond_broadcast, pthread_cond_broadcast) diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c index f5623480f..b49131c86 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c @@ -23,8 +23,6 @@ #include <lowlevellock.h> #include <pthread.h> #include <pthreadP.h> - -#include <shlib-compat.h> #include <kernel-features.h> @@ -51,6 +49,4 @@ __pthread_cond_signal (cond) return 0; } - -versioned_symbol (libpthread, __pthread_cond_signal, pthread_cond_signal, - GLIBC_2_3_2); +weak_alias(__pthread_cond_signal, pthread_cond_signal) diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c index fdbf43eae..db9dc4dcd 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c @@ -24,8 +24,6 @@ #include <pthread.h> #include <pthreadP.h> -#include <shlib-compat.h> - /* Cleanup handler, defined in pthread_cond_wait.c. */ extern void __condvar_cleanup (void *arg) @@ -209,6 +207,4 @@ __pthread_cond_timedwait (cond, mutex, abstime) return err ?: result; } - -versioned_symbol (libpthread, __pthread_cond_timedwait, pthread_cond_timedwait, - GLIBC_2_3_2); +weak_alias(__pthread_cond_timedwait, pthread_cond_timedwait) diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c index 86669458a..b0fe694ba 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c @@ -24,8 +24,6 @@ #include <pthread.h> #include <pthreadP.h> -#include <shlib-compat.h> - struct _condvar_cleanup_buffer { @@ -180,6 +178,4 @@ __pthread_cond_wait (cond, mutex) /* Get the mutex before returning. */ return __pthread_mutex_cond_lock (mutex); } - -versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait, - GLIBC_2_3_2); +weak_alias(__pthread_cond_wait, pthread_cond_wait) |