summaryrefslogtreecommitdiff
path: root/libc/src/pthread/pthread_condattr_init.h
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2024-07-11 12:35:22 -0700
committerGitHub <noreply@github.com>2024-07-11 12:35:22 -0700
commit3f30effe1bd81fa1b039218a9bfe79c3b03fafad (patch)
treef3f9bbaca2e1088607359c74c4c696742383c032 /libc/src/pthread/pthread_condattr_init.h
parent2d7e136fc0e31207b962397250bc1581203c8d59 (diff)
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)
This is a part of #97655.
Diffstat (limited to 'libc/src/pthread/pthread_condattr_init.h')
-rw-r--r--libc/src/pthread/pthread_condattr_init.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/pthread/pthread_condattr_init.h b/libc/src/pthread/pthread_condattr_init.h
index 9f3c06bb6f4a..8f681544f620 100644
--- a/libc/src/pthread/pthread_condattr_init.h
+++ b/libc/src/pthread/pthread_condattr_init.h
@@ -9,12 +9,13 @@
#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_INIT_H
#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_INIT_H
+#include "src/__support/macros/config.h"
#include <pthread.h>
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
int pthread_condattr_init(pthread_condattr_t *attr);
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_INIT_H