diff options
author | Anton Kling <anton@kling.gg> | 2024-12-12 16:03:08 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-12 16:03:08 +0100 |
commit | b033314bf1901d436dc71d41d5e1f37dda47e511 (patch) | |
tree | 120bd137888a7f96904a47af7d20422608ffe225 /userland/libc/signal | |
parent | dcbcdbdc5bcfb86eca05fb655e3bf009d89e39e0 (diff) |
formatting: Use clang-format on all projects
This commit also add braces to all `if` statements.
Diffstat (limited to 'userland/libc/signal')
-rw-r--r-- | userland/libc/signal/sigaction.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 <signal.h> #include <syscall.h> -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)) } |