summaryrefslogtreecommitdiff
path: root/libc/src/pthread/pthread_mutexattr_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/pthread/pthread_mutexattr_init.cpp')
-rw-r--r--libc/src/pthread/pthread_mutexattr_init.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/pthread/pthread_mutexattr_init.cpp b/libc/src/pthread/pthread_mutexattr_init.cpp
index 439d198249a1..7f0ce0b60f53 100644
--- a/libc/src/pthread/pthread_mutexattr_init.cpp
+++ b/libc/src/pthread/pthread_mutexattr_init.cpp
@@ -10,8 +10,9 @@
#include "pthread_mutexattr.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, pthread_mutexattr_init, (pthread_mutexattr_t * attr)) {
// Set the default attributes and mark the attribute object as initiliazed
@@ -20,4 +21,4 @@ LLVM_LIBC_FUNCTION(int, pthread_mutexattr_init, (pthread_mutexattr_t * attr)) {
return 0;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL