diff --git a/libc/src/stdio/asprintf.h b/libc/src/stdio/asprintf.h index 222dfdee9d4fd7..168721c4f98b98 100644 --- a/libc/src/stdio/asprintf.h +++ b/libc/src/stdio/asprintf.h @@ -11,10 +11,10 @@ #include "src/__support/macros/config.h" -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { int asprintf(char **__restrict s, const char *__restrict format, ...); -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL #endif // LLVM_LIBC_SRC_STDIO_ASPRINTF_H diff --git a/libc/src/stdio/vasprintf.h b/libc/src/stdio/vasprintf.h index 8b286fe69bf203..b914c2f9ae0789 100644 --- a/libc/src/stdio/vasprintf.h +++ b/libc/src/stdio/vasprintf.h @@ -11,11 +11,11 @@ #include -namespace LIBC_NAMESPACE { +namespace LIBC_NAMESPACE_DECL { int vasprintf(char **__restrict s, const char *__restrict format, va_list vlist); -} // namespace LIBC_NAMESPACE +} // namespace LIBC_NAMESPACE_DECL #endif // LLVM_LIBC_SRC_STDIO_VASPRINTF_H