LibC: remove select() declaration

This already comes from sys/select.h
This commit is contained in:
Bananymous 2023-06-02 17:29:09 +03:00
parent afb29ff3ec
commit 3a69768eb0
1 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ __BEGIN_DECLS
#define __need_suseconds_t #define __need_suseconds_t
#include <sys/types.h> #include <sys/types.h>
// NOTE: select is declared from here
#include <sys/select.h> #include <sys/select.h>
struct timeval struct timeval
@ -32,7 +33,6 @@ struct itimerval
int getitimer(int which, struct itimerval* value); int getitimer(int which, struct itimerval* value);
int gettimeofday(struct timeval* __restrict tp, void* __restrict tzp); int gettimeofday(struct timeval* __restrict tp, void* __restrict tzp);
int setitimer(int which, const struct itimerval* __restrict value, struct itimerval* __restrict ovalue); 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]); int utimes(const char* path, const struct timeval times[2]);
__END_DECLS __END_DECLS