Skip to content

Commit

Permalink
[libc] Fix missing namespace declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuber6 authored and ericastor committed Oct 10, 2024
1 parent b7394ba commit 8fba347
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libc/src/stdio/asprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions libc/src/stdio/vasprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

#include <stdarg.h>

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

0 comments on commit 8fba347

Please sign in to comment.