summaryrefslogtreecommitdiff
path: root/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/nptl/sysdeps/pthread/bits/libc-lockP.h')
-rw-r--r--libc/nptl/sysdeps/pthread/bits/libc-lockP.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/nptl/sysdeps/pthread/bits/libc-lockP.h b/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
index 9175f719c..46f7939fd 100644
--- a/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
+++ b/libc/nptl/sysdeps/pthread/bits/libc-lockP.h
@@ -148,18 +148,6 @@ typedef pthread_key_t __libc_key_t;
__libc_maybe_call (__pthread_rwlock_init, (&(NAME), NULL), 0)
#endif
-#define __rtld_lock_init_recursive(NAME) \
- do { \
- if (__pthread_mutex_init != NULL) \
- { \
- pthread_mutexattr_t __attr; \
- __pthread_mutexattr_init (&__attr); \
- __pthread_mutexattr_settype (&__attr, PTHREAD_MUTEX_RECURSIVE_NP); \
- __pthread_mutex_init (&(NAME).mutex, &__attr); \
- __pthread_mutexattr_destroy (&__attr); \
- } \
- } while (0)
-
/* Finalize the named lock variable, which must be locked. It cannot be
used again until __libc_lock_init is called again on it. This must be
called on a lock variable before the containing storage is reused. */