From 3a69768eb03643e9293e0af7505b59b6762b0c09 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 2 Jun 2023 17:29:09 +0300 Subject: [PATCH] LibC: remove select() declaration This already comes from sys/select.h --- libc/include/sys/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/sys/time.h b/libc/include/sys/time.h index 704bf63acd..418691232c 100644 --- a/libc/include/sys/time.h +++ b/libc/include/sys/time.h @@ -11,6 +11,7 @@ __BEGIN_DECLS #define __need_suseconds_t #include +// NOTE: select is declared from here #include struct timeval @@ -32,7 +33,6 @@ struct itimerval int getitimer(int which, struct itimerval* value); int gettimeofday(struct timeval* __restrict tp, void* __restrict tzp); int setitimer(int which, const struct itimerval* __restrict value, struct itimerval* __restrict ovalue); -int select(int nfds, fd_set* __restrict readfds, fd_set* __restrict writefds, fd_set* __restrict errorfds, struct timeval* __restrict timeout); int utimes(const char* path, const struct timeval times[2]); __END_DECLS