diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-10-11 21:09:27 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-10-11 21:09:27 +0200 |
commit | 6348dc004579b2f2580f346b636ec59f40888b15 (patch) | |
tree | e245016652b0da5403b3fcfcea2b2aa4aa330799 | |
parent | 08d8159d5a960466bb9a951ecc8036baa4d74e6b (diff) |
Remove __libc_getspecific
The version from libc was not made to be replaced, and doesn't need to
indeed.
* Version: Remove __libc_getspecific symbol.
* libpthread.a: Likewise.
* libpthread_pic.a: Likewise.
* pthread/cthreads-compat: Remove __libc_getspecific function.
-rw-r--r-- | Versions | 1 | ||||
-rw-r--r-- | libpthread.a | 1 | ||||
-rw-r--r-- | libpthread_pic.a | 1 | ||||
-rw-r--r-- | pthread/cthreads-compat.c | 6 |
4 files changed, 0 insertions, 9 deletions
@@ -44,7 +44,6 @@ libpthread { cthread_fork; cthread_keycreate; cthread_getspecific; - __libc_getspecific; cthread_setspecific; __mutex_lock_solid; __mutex_unlock_solid; diff --git a/libpthread.a b/libpthread.a index a87be26..7d3f8d3 100644 --- a/libpthread.a +++ b/libpthread.a @@ -8,7 +8,6 @@ EXTERN(cthread_detach) EXTERN(cthread_fork) EXTERN(cthread_keycreate) EXTERN(cthread_getspecific) -EXTERN(__libc_getspecific) EXTERN(cthread_setspecific) EXTERN(__mutex_lock_solid) EXTERN(__mutex_unlock_solid) diff --git a/libpthread_pic.a b/libpthread_pic.a index 85d5231..cf0bd90 100644 --- a/libpthread_pic.a +++ b/libpthread_pic.a @@ -8,7 +8,6 @@ EXTERN(cthread_detach) EXTERN(cthread_fork) EXTERN(cthread_keycreate) EXTERN(cthread_getspecific) -EXTERN(__libc_getspecific) EXTERN(cthread_setspecific) EXTERN(__mutex_lock_solid) EXTERN(__mutex_unlock_solid) diff --git a/pthread/cthreads-compat.c b/pthread/cthreads-compat.c index cbe8170..1a0971b 100644 --- a/pthread/cthreads-compat.c +++ b/pthread/cthreads-compat.c @@ -70,12 +70,6 @@ cthread_getspecific (cthread_key_t key, void **val) return 0; } -void * -__libc_getspecific (cthread_key_t key) -{ - return pthread_getspecific (key); -} - int cthread_setspecific (cthread_key_t key, void *val) { |