summaryrefslogtreecommitdiff
path: root/libc/src/unistd/linux/fork.cpp
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/unistd/linux/fork.cpp
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/unistd/linux/fork.cpp')
-rw-r--r--libc/src/unistd/linux/fork.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/unistd/linux/fork.cpp b/libc/src/unistd/linux/fork.cpp
index 7d47665b16d3..6fa2b990b19a 100644
--- a/libc/src/unistd/linux/fork.cpp
+++ b/libc/src/unistd/linux/fork.cpp
@@ -10,7 +10,6 @@
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
#include "src/__support/common.h"
-#include "src/__support/macros/config.h"
#include "src/__support/threads/fork_callbacks.h"
#include "src/__support/threads/thread.h" // For thread self object
@@ -18,7 +17,7 @@
#include <signal.h> // For SIGCHLD
#include <sys/syscall.h> // For syscall numbers.
-namespace LIBC_NAMESPACE_DECL {
+namespace LIBC_NAMESPACE {
// The implementation of fork here is very minimal. We will add more
// functionality and standard compliance in future.
@@ -52,4 +51,4 @@ LLVM_LIBC_FUNCTION(pid_t, fork, (void)) {
return ret;
}
-} // namespace LIBC_NAMESPACE_DECL
+} // namespace LIBC_NAMESPACE