From b033314bf1901d436dc71d41d5e1f37dda47e511 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 12 Dec 2024 16:03:08 +0100 Subject: formatting: Use clang-format on all projects This commit also add braces to all `if` statements. --- userland/libc/ctype/isalpha.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'userland/libc/ctype/isalpha.c') diff --git a/userland/libc/ctype/isalpha.c b/userland/libc/ctype/isalpha.c index 130f493..38c3cb4 100644 --- a/userland/libc/ctype/isalpha.c +++ b/userland/libc/ctype/isalpha.c @@ -1,4 +1,6 @@ #include // https://pubs.opengroup.org/onlinepubs/9699919799/functions/isalpha.html -int isalpha(int c) { return (('A' <= toupper(c)) && ('Z' >= toupper(c))); } +int isalpha(int c) { + return (('A' <= toupper(c)) && ('Z' >= toupper(c))); +} -- cgit v1.2.3