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/time/strftime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'userland/libc/time/strftime.c') diff --git a/userland/libc/time/strftime.c b/userland/libc/time/strftime.c index 30a080d..b6a5f58 100644 --- a/userland/libc/time/strftime.c +++ b/userland/libc/time/strftime.c @@ -1,7 +1,7 @@ -#include #include +#include -size_t strftime(char *restrict s, size_t maxsize, - const char *restrict format, const struct tm *restrict timeptr) { - return 0; +size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, + const struct tm *restrict timeptr) { + return 0; } -- cgit v1.2.3