summaryrefslogtreecommitdiff
path: root/libc/src/string/memory_utils/inline_strcmp.h
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/memory_utils/inline_strcmp.h
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/memory_utils/inline_strcmp.h')
-rw-r--r--libc/src/string/memory_utils/inline_strcmp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/memory_utils/inline_strcmp.h b/libc/src/string/memory_utils/inline_strcmp.h
index 2bcd56ad3d6b..281d5b14c6cb 100644
--- a/libc/src/string/memory_utils/inline_strcmp.h
+++ b/libc/src/string/memory_utils/inline_strcmp.h
@@ -9,9 +9,10 @@
#ifndef LLVM_LIBC_SRC_STRING_MEMORY_UTILS_INLINE_STRCMP_H
#define LLVM_LIBC_SRC_STRING_MEMORY_UTILS_INLINE_STRCMP_H
+#include "src/__support/macros/config.h"
#include <stddef.h>
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
template <typename Comp>
LIBC_INLINE constexpr int inline_strcmp(const char *left, const char *right,
@@ -39,6 +40,6 @@ LIBC_INLINE constexpr int inline_strncmp(const char *left, const char *right,
*reinterpret_cast<const unsigned char *>(right));
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_STRING_MEMORY_UTILS_INLINE_STRCMP_H