From 8ff63b062d724826d8017504063df9b92f8e6703 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 21 Feb 2024 00:14:29 +0100 Subject: New clang-format options --- kernel/libc/string/memset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/libc/string/memset.c') diff --git a/kernel/libc/string/memset.c b/kernel/libc/string/memset.c index 5d7de62..34fd507 100644 --- a/kernel/libc/string/memset.c +++ b/kernel/libc/string/memset.c @@ -2,8 +2,9 @@ void *memset(void *dst, const unsigned char c, u32 n) { uintptr_t d = (uintptr_t)dst; - for (u32 i = 0; i < n; i++, d++) + for (u32 i = 0; i < n; i++, d++) { *(unsigned char *)d = c; + } return (void *)d; } -- cgit v1.2.3