diff options
Diffstat (limited to 'libc/src/string/strchrnul.cpp')
| -rw-r--r-- | libc/src/string/strchrnul.cpp | 5 |
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 |
