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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user