mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:43:33 +03:00
select: convert Curl_select() to private static function
The old function should not be used anywhere anymore (the only remaining gskit use has to be fixed to instead use Curl_poll or none at all). The static function version is now called our_select() and is only built if necessary. Closes #6531
This commit is contained in:
parent
5ad377718d
commit
32766cb4db
2 changed files with 11 additions and 14 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -72,12 +72,6 @@ struct pollfd
|
|||
therefore defined here */
|
||||
#define CURL_CSELECT_IN2 (CURL_CSELECT_ERR << 1)
|
||||
|
||||
int Curl_select(curl_socket_t maxfd,
|
||||
fd_set *fds_read,
|
||||
fd_set *fds_write,
|
||||
fd_set *fds_err,
|
||||
timediff_t timeout_ms);
|
||||
|
||||
int Curl_socket_check(curl_socket_t readfd, curl_socket_t readfd2,
|
||||
curl_socket_t writefd,
|
||||
timediff_t timeout_ms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue