aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/mutex.c
diff options
context:
space:
mode:
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 */