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/stdio/gpu/fopen.cpp | |
parent | 37d3f44a58d0a2a2e8782266acd66a6733984842 (diff) | |
download | llvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.zip llvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.tar.gz llvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.tar.bz2 |
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/stdio/gpu/fopen.cpp')
-rw-r--r-- | libc/src/stdio/gpu/fopen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/stdio/gpu/fopen.cpp b/libc/src/stdio/gpu/fopen.cpp index 76daece..1e55725 100644 --- a/libc/src/stdio/gpu/fopen.cpp +++ b/libc/src/stdio/gpu/fopen.cpp @@ -8,12 +8,11 @@ #include "src/stdio/fopen.h" #include "src/__support/CPP/string_view.h" -#include "src/__support/macros/config.h" #include "src/stdio/gpu/file.h" #include "hdr/types/FILE.h" -namespace LIBC_NAMESPACE_DECL { +namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(::FILE *, fopen, (const char *__restrict path, const char *__restrict mode)) { @@ -30,4 +29,4 @@ LLVM_LIBC_FUNCTION(::FILE *, fopen, return reinterpret_cast<FILE *>(file); } -} // namespace LIBC_NAMESPACE_DECL +} // namespace LIBC_NAMESPACE |