diff options
Diffstat (limited to 'libc/src/stdio/gpu/puts.cpp')
| -rw-r--r-- | libc/src/stdio/gpu/puts.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/src/stdio/gpu/puts.cpp b/libc/src/stdio/gpu/puts.cpp index fc252abe52d1..9b4ae661b148 100644 --- a/libc/src/stdio/gpu/puts.cpp +++ b/libc/src/stdio/gpu/puts.cpp @@ -7,19 +7,18 @@ //===----------------------------------------------------------------------===// #include "src/stdio/puts.h" -#include "src/__support/CPP/string_view.h" -#include "src/__support/macros/config.h" -#include "src/errno/libc_errno.h" -#include "src/stdio/gpu/file.h" #include "hdr/stdio_macros.h" // for EOF and stdout. +#include "src/__support/CPP/string_view.h" +#include "src/__support/common.h" +#include "src/stdio/gpu/file.h" namespace LIBC_NAMESPACE_DECL { LLVM_LIBC_FUNCTION(int, puts, (const char *__restrict str)) { cpp::string_view str_view(str); - auto written = file::write_impl<LIBC_WRITE_TO_STDOUT_NEWLINE>(stdout, str, - str_view.size()); + auto written = file::write_impl<LIBC_WRITE_TO_STDOUT_NEWLINE>( + stdout, str, str_view.size()); if (written != str_view.size() + 1) return EOF; return 0; |
