aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/mutex.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-09 13:42:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-09 13:42:26 +0000
commit6077fe6e4d860f5fc53c49a4266d50437f3a2817 (patch)
tree6d32d596c22d409fe3615d7d5980a56315317d69 /linuxthreads/mutex.c
parent4bae55673314ecad6127cc156b1e5e5bb3c88b57 (diff)
downloadglibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.zip
glibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.tar.gz
glibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.tar.bz2
Update.
1998-07-09 13:39 Ulrich Drepper <drepper@cygnus.com> * Versions: Add __pthread_mutexattr_gettype and __pthread_mutexattr_settype. * lockfile.c: Use __pthread_mutexattr_settype instead of __pthread_mutexattr_setkind_np. * mutex.c: Define __pthread_mutexattr_gettype and __pthread_mutexattr_settype. * weak.c: Likewise.
Diffstat (limited to 'linuxthreads/mutex.c')
-rw-r--r--linuxthreads/mutex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linuxthreads/mutex.c b/linuxthreads/mutex.c
index 44a17d5..a337bad 100644
--- a/linuxthreads/mutex.c
+++ b/linuxthreads/mutex.c
@@ -154,7 +154,8 @@ int __pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind)
return 0;
}
weak_alias (__pthread_mutexattr_setkind_np, pthread_mutexattr_setkind_np)
-weak_alias (__pthread_mutexattr_setkind_np, pthread_mutexattr_settype)
+strong_alias (__pthread_mutexattr_setkind_np, __pthread_mutexattr_settype)
+weak_alias (__pthread_mutexattr_settype, pthread_mutexattr_settype)
int __pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, int *kind)
{
@@ -162,7 +163,8 @@ int __pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, int *kind)
return 0;
}
weak_alias (__pthread_mutexattr_getkind_np, pthread_mutexattr_getkind_np)
-weak_alias (__pthread_mutexattr_getkind_np, pthread_mutexattr_gettype)
+strong_alias (__pthread_mutexattr_getkind_np, __pthread_mutexattr_gettype)
+weak_alias (__pthread_mutexattr_gettype, pthread_mutexattr_gettype)
/* Once-only execution */