summaryrefslogtreecommitdiff
path: root/sysdeps/generic
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
commit0519673768de7ce1d212af093974bbaaef3e74d3 (patch)
treeb17fe2db2aac8c83a7120ccacff31e4b89b3c887 /sysdeps/generic
parentf214670f86b9355183e2478dd1827474f60439b8 (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')
-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 f5f3fa9..15a83f4 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 }