summaryrefslogtreecommitdiff
path: root/sysdeps/mach/bits/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/bits/libc-lock.h')
-rw-r--r--sysdeps/mach/bits/libc-lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/bits/libc-lock.h b/sysdeps/mach/bits/libc-lock.h
index f3ce23a88c..464f2e3e06 100644
--- a/sysdeps/mach/bits/libc-lock.h
+++ b/sysdeps/mach/bits/libc-lock.h
@@ -27,6 +27,9 @@
typedef struct __libc_lock_opaque__ __libc_lock_t;
#endif
+/* Type for key of thread specific data. */
+typedef cthread_key_t __libc_key_t;
+
/* Define a lock variable NAME with storage class CLASS. The lock must be
initialized with __libc_lock_init before it can be used (or define it
with __libc_lock_define_initialized, below). Use `extern' for CLASS to