Skip to content

Commit 2190ffa

Browse files
committed
[libc] Fix missing namespace declarations
1 parent 25d9688 commit 2190ffa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libc/src/stdio/asprintf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
#include "src/__support/macros/config.h"
1313

14-
namespace LIBC_NAMESPACE {
14+
namespace LIBC_NAMESPACE_DECL {
1515

1616
int asprintf(char **__restrict s, const char *__restrict format, ...);
1717

18-
} // namespace LIBC_NAMESPACE
18+
} // namespace LIBC_NAMESPACE_DECL
1919

2020
#endif // LLVM_LIBC_SRC_STDIO_ASPRINTF_H

libc/src/stdio/vasprintf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
#include <stdarg.h>
1313

14-
namespace LIBC_NAMESPACE {
14+
namespace LIBC_NAMESPACE_DECL {
1515

1616
int vasprintf(char **__restrict s, const char *__restrict format,
1717
va_list vlist);
1818

19-
} // namespace LIBC_NAMESPACE
19+
} // namespace LIBC_NAMESPACE_DECL
2020

2121
#endif // LLVM_LIBC_SRC_STDIO_VASPRINTF_H

0 commit comments

Comments
 (0)