summaryrefslogtreecommitdiff
path: root/libc/src/threads/mtx_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/threads/mtx_init.cpp')
-rw-r--r--libc/src/threads/mtx_init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/threads/mtx_init.cpp b/libc/src/threads/mtx_init.cpp
index 188209c9d371..74d08d33b116 100644
--- a/libc/src/threads/mtx_init.cpp
+++ b/libc/src/threads/mtx_init.cpp
@@ -12,7 +12,7 @@
#include <threads.h> // For mtx_t definition.
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
static_assert(sizeof(Mutex) <= sizeof(mtx_t),
"The public mtx_t type cannot accommodate the internal mutex "
@@ -24,4 +24,4 @@ LLVM_LIBC_FUNCTION(int, mtx_init, (mtx_t * m, int type)) {
return err == MutexError::NONE ? thrd_success : thrd_error;
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE