summaryrefslogtreecommitdiff
path: root/libc/src/threads
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-05-12 16:31:17 -0700
committerSiva Chandra Reddy <sivachandra@google.com>2020-05-13 09:48:31 -0700
commitb7afa92e75ddea744c9bafbb2119b63ea564e122 (patch)
tree8421ff628978951bf9790e7206faa98bae50de5d /libc/src/threads
parent641ae73f2eba1a4c52d8ddeefad44f26cc7530f3 (diff)
[libc] Call mtx_init in mtx_test.
A typo which was caught has also been fixed. Reviewers: abrachet Differential Revision: https://reviews.llvm.org/D79826
Diffstat (limited to 'libc/src/threads')
-rw-r--r--libc/src/threads/mtx_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/threads/mtx_init.h b/libc/src/threads/mtx_init.h
index 0286ab15b236..d85089ff8c2e 100644
--- a/libc/src/threads/mtx_init.h
+++ b/libc/src/threads/mtx_init.h
@@ -13,7 +13,7 @@
namespace __llvm_libc {
-int mtx_int(mtx_t *mutex, int type);
+int mtx_init(mtx_t *mutex, int type);
} // namespace __llvm_libc