diff options
author | Anton Kling <anton@kling.gg> | 2023-11-28 20:11:05 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-28 20:12:20 +0100 |
commit | d07fa25e04a19ccb9aa25bb6e2156d23d213db77 (patch) | |
tree | 25f2e4a6301f3ad7c5b158e74966a394862fdf39 /kernel/libc/stdio | |
parent | 636858dbbd48ed9f5073793b46740302aa202f43 (diff) |
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/libc/stdio')
-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); +} |