diff options
Diffstat (limited to 'libc/src/string/strncmp.cpp')
| -rw-r--r-- | libc/src/string/strncmp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strncmp.cpp b/libc/src/string/strncmp.cpp index 0d2a66879704..16d4601fe845 100644 --- a/libc/src/string/strncmp.cpp +++ b/libc/src/string/strncmp.cpp @@ -9,11 +9,12 @@ #include "src/string/strncmp.h" #include "src/__support/common.h" +#include "src/__support/macros/config.h" #include "src/string/memory_utils/inline_strcmp.h" #include <stddef.h> -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, strncmp, (const char *left, const char *right, size_t n)) { @@ -21,4 +22,4 @@ LLVM_LIBC_FUNCTION(int, strncmp, return inline_strncmp(left, right, n, comp); } -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL |
