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/signal/sigaction.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'userland/libc/signal') diff --git a/userland/libc/signal/sigaction.c b/userland/libc/signal/sigaction.c index 1ff22a7..97ba6ed 100644 --- a/userland/libc/signal/sigaction.c +++ b/userland/libc/signal/sigaction.c @@ -1,7 +1,6 @@ #include #include -int sigaction(int sig, const struct sigaction *act, - struct sigaction *oact) { - RC_ERRNO(syscall(SYS_SIGACTION, sig, act, oact, 0,0)) +int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) { + RC_ERRNO(syscall(SYS_SIGACTION, sig, act, oact, 0, 0)) } -- cgit v1.2.3