summaryrefslogtreecommitdiff
path: root/libc/src/string/memset_explicit.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2024-07-12 09:28:41 -0700
committerGitHub <noreply@github.com>2024-07-12 09:28:41 -0700
commit5ff3ff33ff930e4ec49da7910612d8a41eb068cb (patch)
treeffb876db6deb2dfd4c6c0c11ddf692db75082f7f /libc/src/string/memset_explicit.cpp
parentdd866040aeb2703debacc141f60429ea0f567146 (diff)
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
Diffstat (limited to 'libc/src/string/memset_explicit.cpp')
-rw-r--r--libc/src/string/memset_explicit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/memset_explicit.cpp b/libc/src/string/memset_explicit.cpp
index a8656d1e791e..a3e4dad87439 100644
--- a/libc/src/string/memset_explicit.cpp
+++ b/libc/src/string/memset_explicit.cpp
@@ -8,9 +8,10 @@
#include "src/string/memset_explicit.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include "src/string/memory_utils/inline_memset.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
[[gnu::noinline]] LLVM_LIBC_FUNCTION(void *, memset_explicit,
(void *dst, int value, size_t count)) {
@@ -22,4 +23,4 @@ namespace LIBC_NAMESPACE {
return dst;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL