From 169daa11155988a210fac949297381743f3cb400 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 23:14:53 +0100 Subject: feat: clang-tidy fixes --- lib/libc/select/pselect.c | 6 +++++- lib/libc/select/select.c | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/libc/select') diff --git a/lib/libc/select/pselect.c b/lib/libc/select/pselect.c index 70f63f2d..0f434533 100644 --- a/lib/libc/select/pselect.c +++ b/lib/libc/select/pselect.c @@ -1,8 +1,12 @@ -#include "asm/unistd_64.h" // for __NR_pselect6 + + #include // for uintptr_t #include // for fd_set, pselect, sigset_t #include // for __syscall_6, syscall, syscall_arg_t +#include + +struct timespec; int pselect(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict errorfds, const struct timespec *restrict timeout, diff --git a/lib/libc/select/select.c b/lib/libc/select/select.c index 58c96348..786724a8 100644 --- a/lib/libc/select/select.c +++ b/lib/libc/select/select.c @@ -1,6 +1,8 @@ -#include "asm/unistd_64.h" // for __NR_pselect6 +#define __BITS_SELECT_H_ +#include "bits/select.h" // for fd_set, timeval (ptr only) -#include // for fd_set, select + +#include // for select #include // for __syscall_6, syscall, syscall_arg_t int select(int nfds, fd_set *restrict readfds, fd_set *restrict writefds, -- cgit v1.2.3