summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-08-12 13:31:49 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-07 23:38:31 +0200
commit4adf127763d39abcbaa67069ae4ddceaf9a6857b (patch)
tree22cdaf3bedb1e864a925e3eeda3a9ccc9fe36d5a /sysdeps/generic/bits
parentf823b025120ff71a8e1e6d3e0686b08fd726d12d (diff)
libpthread/
2008-08-12 Neal H. Walfield <neal@gnu.org> * sysdeps/generic/bits/mutex.h (__PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Define. (__PTHREAD_MUTEX_RECURSIVE_INITIALIZER): Don't define. * include/pthread/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) [__USE_GNU]: Define. (PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP): Don't define. libhurd-mm/ 2008-08-12 Neal H. Walfield <neal@gnu.org> * storage.c (storage_low_mutex): Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, not PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP.
Diffstat (limited to 'sysdeps/generic/bits')
-rw-r--r--sysdeps/generic/bits/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/bits/mutex.h b/sysdeps/generic/bits/mutex.h
index f5f3fa94..15a83f49 100644
--- a/sysdeps/generic/bits/mutex.h
+++ b/sysdeps/generic/bits/mutex.h
@@ -57,7 +57,7 @@ struct __pthread_mutex
# define __PTHREAD_MUTEX_INITIALIZER \
{ __SPIN_LOCK_INITIALIZER, __SPIN_LOCK_INITIALIZER, 0, 0, 0, 0, 0, 0 }
-# define __PTHREAD_MUTEX_RECURSIVE_INITIALIZER \
+# define __PTHREAD_RECURSIVE_MUTEX_INITIALIZER \
{ __SPIN_LOCK_INITIALIZER, __SPIN_LOCK_INITIALIZER, 0, 0, \
(struct __pthread_mutexattr *) &__pthread_recursive_mutexattr, 0, 0, 0 }