summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-01-19 20:46:11 +0000
committerthorpej <thorpej@NetBSD.org>2003-01-19 20:46:11 +0000
commit592409d356a86d9ce7ac5d962ce89bca9e368706 (patch)
tree1b65db16b566290e78453f64bd856763880a874d /lib/libpthread
parent3d8d8663b9d58eb98951ce8a2bf4f14671af8805 (diff)
Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
mutexes are used by the X libraries).
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_mutex.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/pthread_mutex.c b/lib/libpthread/pthread_mutex.c
index 5d3178442c8..2a13fc023a3 100644
--- a/lib/libpthread/pthread_mutex.c
+++ b/lib/libpthread/pthread_mutex.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_mutex.c,v 1.3 2003/01/18 18:45:55 christos Exp $ */
+/* $NetBSD: pthread_mutex.c,v 1.4 2003/01/19 20:46:12 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
@@ -53,6 +53,10 @@ __strong_alias(__libc_mutex_trylock,pthread_mutex_trylock)
__strong_alias(__libc_mutex_unlock,pthread_mutex_unlock)
__strong_alias(__libc_mutex_destroy,pthread_mutex_destroy)
+__strong_alias(__libc_mutexattr_init,pthread_mutexattr_init)
+__strong_alias(__libc_mutexattr_destroy,pthread_mutexattr_destroy)
+__string_alias(__libc_mutexattr_settype,pthread_mutexattr_settype)
+
__strong_alias(__libc_thr_once,pthread_once)
struct mutex_private {