diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /lib/libc/select/select.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'lib/libc/select/select.c')
| -rw-r--r-- | lib/libc/select/select.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/select/select.c b/lib/libc/select/select.c index 9a0480c9..9a506640 100644 --- a/lib/libc/select/select.c +++ b/lib/libc/select/select.c @@ -4,9 +4,8 @@ #include <sys/select.h> // for select #include <syscall.h> // for __syscall_6, syscall, syscall_arg_t -int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, - fd_set *restrict errorfds, struct timeval *restrict timeout) +int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, + struct timeval *restrict timeout) { - return syscall(pselect6, nfds, readfds, writefds, errorfds, timeout, - ((syscall_arg_t[]){ 0, 8 })); + return syscall(pselect6, nfds, readfds, writefds, errorfds, timeout, ((syscall_arg_t[]){ 0, 8 })); } |
