summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-11 21:09:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-10-11 21:09:27 +0200
commit6348dc004579b2f2580f346b636ec59f40888b15 (patch)
treee245016652b0da5403b3fcfcea2b2aa4aa330799
parent08d8159d5a960466bb9a951ecc8036baa4d74e6b (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--Versions1
-rw-r--r--libpthread.a1
-rw-r--r--libpthread_pic.a1
-rw-r--r--pthread/cthreads-compat.c6
4 files changed, 0 insertions, 9 deletions
diff --git a/Versions b/Versions
index 8058f0a..040ea9e 100644
--- a/Versions
+++ b/Versions
@@ -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)
{