summaryrefslogtreecommitdiff
path: root/libc/src/pthread/pthread_attr_init.h
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2024-07-12 09:12:13 +0200
committerGitHub <noreply@github.com>2024-07-12 09:12:13 +0200
commitce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3 (patch)
tree0f22897d7f178d7b3850db2397b4b59698336d26 /libc/src/pthread/pthread_attr_init.h
parent37d3f44a58d0a2a2e8782266acd66a6733984842 (diff)
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075 bots are broken
Diffstat (limited to 'libc/src/pthread/pthread_attr_init.h')
-rw-r--r--libc/src/pthread/pthread_attr_init.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/pthread/pthread_attr_init.h b/libc/src/pthread/pthread_attr_init.h
index 69969980725b..3a2ad3d2b8b8 100644
--- a/libc/src/pthread/pthread_attr_init.h
+++ b/libc/src/pthread/pthread_attr_init.h
@@ -9,13 +9,12 @@
#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_INIT_H
#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_INIT_H
-#include "src/__support/macros/config.h"
#include <pthread.h>
-namespace LIBC_NAMESPACE_DECL {
+namespace LIBC_NAMESPACE {
int pthread_attr_init(pthread_attr_t *attr);
-} // namespace LIBC_NAMESPACE_DECL
+} // namespace LIBC_NAMESPACE
#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_INIT_H