diff options
Diffstat (limited to 'kernel/libc/stdio/print.c')
-rw-r--r-- | kernel/libc/stdio/print.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/libc/stdio/print.c b/kernel/libc/stdio/print.c index f1a4918..fe50f50 100644 --- a/kernel/libc/stdio/print.c +++ b/kernel/libc/stdio/print.c @@ -8,7 +8,9 @@ const char HEX_SET[0x10] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; -inline void putc(const char c) { write_serial(c); } +inline void putc(const char c) { + write_serial(c); +} int kprint_hex(u64 num) { int c = 2; @@ -94,4 +96,6 @@ int kprintf(const char *format, ...) { return c; } -int puts(char *str) { return kprintf("%s\n", str); } +int puts(char *str) { + return kprintf("%s\n", str); +} |