aboutsummaryrefslogtreecommitdiff
path: root/lib/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/select.h')
-rw-r--r--lib/select.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/select.h b/lib/select.h
index 5a62a6fd8..77b3e915f 100644
--- a/lib/select.h
+++ b/lib/select.h
@@ -76,11 +76,8 @@ struct pollfd
#define POLLRDBAND POLLPRI
#endif
-#define CSELECT_IN 0x01
-#define CSELECT_OUT 0x02
-#define CSELECT_ERR 0x04
-
-int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms);
+int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
+ int timeout_ms);
int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);