summaryrefslogtreecommitdiff
path: root/libc/src/string/strrchr.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2024-07-11 12:35:22 -0700
committerGitHub <noreply@github.com>2024-07-11 12:35:22 -0700
commit3f30effe1bd81fa1b039218a9bfe79c3b03fafad (patch)
treef3f9bbaca2e1088607359c74c4c696742383c032 /libc/src/string/strrchr.cpp
parent2d7e136fc0e31207b962397250bc1581203c8d59 (diff)
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)
This is a part of #97655.
Diffstat (limited to 'libc/src/string/strrchr.cpp')
-rw-r--r--libc/src/string/strrchr.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strrchr.cpp b/libc/src/string/strrchr.cpp
index d51808b6dd83..66d1aaafee0d 100644
--- a/libc/src/string/strrchr.cpp
+++ b/libc/src/string/strrchr.cpp
@@ -9,12 +9,13 @@
#include "src/string/strrchr.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include "src/string/string_utils.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(char *, strrchr, (const char *src, int c)) {
return internal::strrchr_implementation(src, c);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL