diff options
| author | Mehdi Amini <joker.eph@gmail.com> | 2024-07-12 09:12:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 09:12:13 +0200 |
| commit | ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3 (patch) | |
| tree | 0f22897d7f178d7b3850db2397b4b59698336d26 /libc/src/pthread/pthread_atfork.cpp | |
| parent | 37d3f44a58d0a2a2e8782266acd66a6733984842 (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_atfork.cpp')
| -rw-r--r-- | libc/src/pthread/pthread_atfork.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/pthread/pthread_atfork.cpp b/libc/src/pthread/pthread_atfork.cpp index d3f3c259992e..57191b853477 100644 --- a/libc/src/pthread/pthread_atfork.cpp +++ b/libc/src/pthread/pthread_atfork.cpp @@ -9,13 +9,12 @@ #include "pthread_atfork.h" #include "src/__support/common.h" -#include "src/__support/macros/config.h" #include "src/__support/threads/fork_callbacks.h" #include <errno.h> #include <pthread.h> // For pthread_* type definitions. -namespace LIBC_NAMESPACE_DECL { +namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(int, pthread_atfork, (__atfork_callback_t prepare, __atfork_callback_t parent, @@ -23,4 +22,4 @@ LLVM_LIBC_FUNCTION(int, pthread_atfork, return register_atfork_callbacks(prepare, parent, child) ? 0 : ENOMEM; } -} // namespace LIBC_NAMESPACE_DECL +} // namespace LIBC_NAMESPACE |
