Skip to content

Commit 051f4ab

Browse files
Fix aarch64 build.
1 parent 5df3ff4 commit 051f4ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libc/src/string/memory_utils/aarch64/inline_strlen.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace LIBC_NAMESPACE_DECL {
1818

19-
namespace arch {
19+
namespace internal::arch {
2020
[[maybe_unused]] LIBC_NO_SANITIZE_OOB_ACCESS LIBC_INLINE static size_t
2121
string_length(const char *src) {
2222
using Vector __attribute__((may_alias)) = uint8x8_t;
@@ -44,7 +44,7 @@ string_length(const char *src) {
4444
(cpp::countr_zero(cmp) >> 3));
4545
}
4646
}
47-
} // namespace arch
47+
} // namespace internal::arch
4848

4949
} // namespace LIBC_NAMESPACE_DECL
5050
#endif // __ARM_NEON

libc/src/string/string_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace LIBC_NAMESPACE_DECL {
3737
namespace internal {
3838

3939
#if !LIBC_HAS_VECTOR_TYPE
40-
// Foreword any generic vector impls to architecture specific ones
40+
// Forward any generic vector impls to architecture specific ones
4141
namespace arch {}
4242
namespace generic = arch;
4343
#endif

0 commit comments

Comments
 (0)