summaryrefslogtreecommitdiff
path: root/libc/src/string/stpcpy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/string/stpcpy.cpp')
-rw-r--r--libc/src/string/stpcpy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/stpcpy.cpp b/libc/src/string/stpcpy.cpp
index bdaa6899302c..979edd72c1f1 100644
--- a/libc/src/string/stpcpy.cpp
+++ b/libc/src/string/stpcpy.cpp
@@ -7,12 +7,13 @@
//===----------------------------------------------------------------------===//
#include "src/string/stpcpy.h"
+#include "src/__support/macros/config.h"
#include "src/string/mempcpy.h"
#include "src/string/string_utils.h"
#include "src/__support/common.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(char *, stpcpy,
(char *__restrict dest, const char *__restrict src)) {
@@ -25,4 +26,4 @@ LLVM_LIBC_FUNCTION(char *, stpcpy,
return nullptr;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL