diff --git a/libc/stdio/putchar.cpp b/libc/stdio/putchar.cpp index dcdb42d9ae..e1e82c5dbc 100644 --- a/libc/stdio/putchar.cpp +++ b/libc/stdio/putchar.cpp @@ -1,18 +1,15 @@ #include #if defined(__is_libk) -#include -#include + #include #else -#include + #include #endif int putchar(int c) { #if defined(__is_libk) Kernel::panic("Please use kprint() instead of stdio"); - char ch = (char)c; - terminal_write(&ch, sizeof(ch)); #else abort(); #endif