cleanup unused code
This commit is contained in:
@ -121,16 +121,6 @@ struct tm *localtime_r(const time_t *timep, struct tm *result)
|
||||
return p;
|
||||
}
|
||||
|
||||
int socket_set_fast_reuse(int fd)
|
||||
{
|
||||
/* Enabling the reuse of an endpoint that was used by a socket still in
|
||||
* TIME_WAIT state is usually performed by setting SO_REUSEADDR. On Windows
|
||||
* fast reuse is the default and SO_REUSEADDR does strange things. So we
|
||||
* don't have to do anything here. More info can be found at:
|
||||
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms740621.aspx */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
int inet_aton(const char *cp, struct in_addr *ia)
|
||||
{
|
||||
|
Reference in New Issue
Block a user