summaryrefslogtreecommitdiff
path: root/libc/src/string/strchrnul.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/string/strchrnul.cpp')
-rw-r--r--libc/src/string/strchrnul.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strchrnul.cpp b/libc/src/string/strchrnul.cpp
index 9b492a634a8f..6a3db9c105aa 100644
--- a/libc/src/string/strchrnul.cpp
+++ b/libc/src/string/strchrnul.cpp
@@ -7,14 +7,15 @@
//===----------------------------------------------------------------------===//
#include "src/string/strchrnul.h"
+#include "src/__support/macros/config.h"
#include "src/string/string_utils.h"
#include "src/__support/common.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(char *, strchrnul, (const char *src, int c)) {
return internal::strchr_implementation<false>(src, c);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL