From d07fa25e04a19ccb9aa25bb6e2156d23d213db77 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 28 Nov 2023 20:11:05 +0100 Subject: Meta: Apply new clang-format rules to kernel --- kernel/libc/stdio/print.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'kernel/libc/stdio') 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); +} -- cgit v1.2.3