summaryrefslogtreecommitdiff
path: root/libc/src/string/memset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/string/memset.cpp')
-rw-r--r--libc/src/string/memset.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/memset.cpp b/libc/src/string/memset.cpp
index a94e35342196..c2868afa9103 100644
--- a/libc/src/string/memset.cpp
+++ b/libc/src/string/memset.cpp
@@ -8,13 +8,14 @@
#include "src/string/memset.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include "src/string/memory_utils/inline_memset.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(void *, memset, (void *dst, int value, size_t count)) {
inline_memset(dst, static_cast<uint8_t>(value), count);
return dst;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL