summaryrefslogtreecommitdiff
path: root/libc/src/string/strcoll.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/strcoll.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/strcoll.cpp')
-rw-r--r--libc/src/string/strcoll.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strcoll.cpp b/libc/src/string/strcoll.cpp
index 7280688bf3d9..eeb2c79e3807 100644
--- a/libc/src/string/strcoll.cpp
+++ b/libc/src/string/strcoll.cpp
@@ -9,8 +9,9 @@
#include "src/string/strcoll.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
// TODO: Add support for locales.
LLVM_LIBC_FUNCTION(int, strcoll, (const char *left, const char *right)) {
@@ -19,4 +20,4 @@ LLVM_LIBC_FUNCTION(int, strcoll, (const char *left, const char *right)) {
return static_cast<int>(*left) - static_cast<int>(*right);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL