summaryrefslogtreecommitdiff
path: root/libc/upstream-netbsd/reentrant.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-03-14 04:58:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-14 04:58:20 +0000
commit143df89f729f39f4286f12daaf9cacf5c4501357 (patch)
tree7220cc9b0d62a236ae7e248acd053195cb1a7575 /libc/upstream-netbsd/reentrant.h
parentd16100c1fb8a39215497243ecb12176e9688ef77 (diff)
parent205c7887add8b8c85434c35158138f16265beb28 (diff)
Merge "Clean up reentrancy cruft."
Diffstat (limited to 'libc/upstream-netbsd/reentrant.h')
-rw-r--r--libc/upstream-netbsd/reentrant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/upstream-netbsd/reentrant.h b/libc/upstream-netbsd/reentrant.h
index e2945da42..3ca8fd621 100644
--- a/libc/upstream-netbsd/reentrant.h
+++ b/libc/upstream-netbsd/reentrant.h
@@ -28,6 +28,8 @@
#define MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
#define mutex_t pthread_mutex_t
+#define mutex_lock(x) pthread_mutex_lock(x)
+#define mutex_unlock(x) pthread_mutex_unlock(x)
#define RWLOCK_INITIALIZER PTHREAD_RWLOCK_INITIALIZER
#define rwlock_t pthread_rwlock_t