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/test/UnitTest/ExecuteFunctionUnix.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/test/UnitTest/ExecuteFunctionUnix.cpp')
| -rw-r--r-- | libc/test/UnitTest/ExecuteFunctionUnix.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/test/UnitTest/ExecuteFunctionUnix.cpp b/libc/test/UnitTest/ExecuteFunctionUnix.cpp index 3a657c00851c..b244337f9c6f 100644 --- a/libc/test/UnitTest/ExecuteFunctionUnix.cpp +++ b/libc/test/UnitTest/ExecuteFunctionUnix.cpp @@ -7,7 +7,6 @@ //===----------------------------------------------------------------------===// #include "ExecuteFunction.h" -#include "src/__support/macros/config.h" #include <cassert> #include <cstdlib> #include <cstring> @@ -18,7 +17,7 @@ #include <sys/wait.h> #include <unistd.h> -namespace LIBC_NAMESPACE_DECL { +namespace LIBC_NAMESPACE { namespace testutils { bool ProcessStatus::exited_normally() { return WIFEXITED(platform_defined); } @@ -79,4 +78,4 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, unsigned timeout_ms) { const char *signal_as_string(int signum) { return ::strsignal(signum); } } // namespace testutils -} // namespace LIBC_NAMESPACE_DECL +} // namespace LIBC_NAMESPACE |
