diff options
Diffstat (limited to 'libc/src/stdio/printf_core/vfprintf_internal.h')
-rw-r--r-- | libc/src/stdio/printf_core/vfprintf_internal.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/src/stdio/printf_core/vfprintf_internal.h b/libc/src/stdio/printf_core/vfprintf_internal.h index d66b53b..c16c3ae 100644 --- a/libc/src/stdio/printf_core/vfprintf_internal.h +++ b/libc/src/stdio/printf_core/vfprintf_internal.h @@ -18,26 +18,26 @@ #include <stdio.h> -namespace __llvm_libc { +namespace LIBC_NAMESPACE { namespace internal { #ifndef LIBC_COPT_STDIO_USE_SYSTEM_FILE LIBC_INLINE int ferror_unlocked(FILE *f) { - return reinterpret_cast<__llvm_libc::File *>(f)->error_unlocked(); + return reinterpret_cast<LIBC_NAMESPACE::File *>(f)->error_unlocked(); } LIBC_INLINE void flockfile(FILE *f) { - reinterpret_cast<__llvm_libc::File *>(f)->lock(); + reinterpret_cast<LIBC_NAMESPACE::File *>(f)->lock(); } LIBC_INLINE void funlockfile(FILE *f) { - reinterpret_cast<__llvm_libc::File *>(f)->unlock(); + reinterpret_cast<LIBC_NAMESPACE::File *>(f)->unlock(); } LIBC_INLINE size_t fwrite_unlocked(const void *ptr, size_t size, size_t nmemb, FILE *f) { - return reinterpret_cast<__llvm_libc::File *>(f)->write_unlocked(ptr, - size * nmemb); + return reinterpret_cast<LIBC_NAMESPACE::File *>(f)->write_unlocked( + ptr, size * nmemb); } #else // defined(LIBC_COPT_STDIO_USE_SYSTEM_FILE) LIBC_INLINE int ferror_unlocked(::FILE *f) { return ::ferror_unlocked(f); } @@ -84,6 +84,6 @@ LIBC_INLINE int vfprintf_internal(::FILE *__restrict stream, } } // namespace printf_core -} // namespace __llvm_libc +} // namespace LIBC_NAMESPACE #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_VFPRINTF_INTERNAL_H |