summaryrefslogtreecommitdiff
path: root/sysdeps/generic/sem-destroy.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-01-20 13:07:06 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2007-01-20 13:07:06 +0000
commitb84dccc8e92cf6de249bcc5ae1c40af82ad233ec (patch)
tree5d041157e2e5d64c763599bc00793aa72e647ffd /sysdeps/generic/sem-destroy.c
parent1c31ded80a4e76294ba08b2da2117b0af8c5cdaa (diff)
2006-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
Do not let other libraries (like libX11) override libpthread's pthread_mutex_*, pthread_rwlock_* and sem_* dynamic symbols. * libpthread/sysdeps/generic/pt-mutex-destroy.c (pthread_mutex_destroy): Make the alias strong. * libpthread/sysdeps/generic/pt-mutex-init.c (pthread_mutex_init): Likewise. * libpthread/sysdeps/generic/pt-mutex-lock.c (_pthread_mutex_lock, pthread_mutex_lock): Likewise. * libpthread/sysdeps/generic/pt-mutex-trylock.c (_pthread_mutex_trylock, pthread_mutex_trylock): Likewise. * libpthread/sysdeps/generic/pt-mutex-unlock.c (_pthread_mutex_lock, pthread_mutex_unlock): Likewise. * libpthread/sysdeps/generic/pt-rwlock-destroy.c (pthread_rwlock_destroy): Likewise. * libpthread/sysdeps/generic/pt-rwlock-init.c (pthread_rwlock_init): Likewise. * libpthread/sysdeps/generic/sem-destroy.c (sem_destroy): Likewise. * libpthread/sysdeps/generic/sem-getvalue.c (sem_getvalue): Likewise. * libpthread/sysdeps/generic/sem-init.c (sem_init): Likewise. * libpthread/sysdeps/generic/sem-open.c (sem_open): Likewise. * libpthread/sysdeps/generic/sem-post.c (sem_post): Likewise. * libpthread/sysdeps/generic/sem-timedwait.c (sem_timedwait): Likewise. * libpthread/sysdeps/generic/sem-trywait.c (sem_trywait): Likewise. * libpthread/sysdeps/generic/sem-unlink.c (sem_unlink): Likewise. * libpthread/sysdeps/generic/sem-wait.c (sem_wait): Likewise.
Diffstat (limited to 'sysdeps/generic/sem-destroy.c')
-rw-r--r--sysdeps/generic/sem-destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/sem-destroy.c b/sysdeps/generic/sem-destroy.c
index 693b06dd..985f4ad3 100644
--- a/sysdeps/generic/sem-destroy.c
+++ b/sysdeps/generic/sem-destroy.c
@@ -35,4 +35,4 @@ __sem_destroy (sem_t *sem)
return 0;
}
-weak_alias (__sem_destroy, sem_destroy);
+strong_alias (__sem_destroy, sem_destroy);