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/string/isequal.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kernel/libc/string/isequal.c') diff --git a/kernel/libc/string/isequal.c b/kernel/libc/string/isequal.c index 75f7366..90712db 100644 --- a/kernel/libc/string/isequal.c +++ b/kernel/libc/string/isequal.c @@ -1,15 +1,15 @@ #include "../include/string.h" int isequal(const char *s1, const char *s2) { - for(;*s1;s1++,s2++) - if(*s1 != *s2) - return 0; - return 1; + for (; *s1; s1++, s2++) + if (*s1 != *s2) + return 0; + return 1; } int isequal_n(const char *s1, const char *s2, u32 n) { - for(;*s1 && n;s1++,s2++,n--) - if(*s1 != *s2) - return 0; - return 1; + for (; *s1 && n; s1++, s2++, n--) + if (*s1 != *s2) + return 0; + return 1; } -- cgit v1.2.3