move FD_SET defines to sockets.h from arch.h .Last arg of select is not a const according to linux and openBSD manpages

This commit is contained in:
jani
2003-02-17 11:34:48 +00:00
parent 90bc698a40
commit da40fbd054
3 changed files with 21 additions and 20 deletions

View File

@@ -646,7 +646,7 @@ lwip_selscan(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset)
/*-----------------------------------------------------------------------------------*/
int
lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
const struct timeval *timeout)
struct timeval *timeout)
{
int i;
int nready;