summaryrefslogtreecommitdiff
path: root/lib/select.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-19 14:03:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-19 14:03:19 +0000
commit765683403f27836d60bc7e210d22f93e8f63ace1 (patch)
tree6d8f8a820c6bda31ef8bae3ea519381dff210b55 /lib/select.h
parentcca9fca89409a73f393d8de42b30572bba3d7a14 (diff)
downloadcurl-765683403f27836d60bc7e210d22f93e8f63ace1.tar.gz
Curl_select() now uses curl_socket_t on socket arguments
Diffstat (limited to 'lib/select.h')
-rw-r--r--lib/select.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/select.h b/lib/select.h
index 373ba2164..b3d9ce3ae 100644
--- a/lib/select.h
+++ b/lib/select.h
@@ -23,7 +23,6 @@
* $Id$
***************************************************************************/
-
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#else
@@ -44,12 +43,11 @@ struct pollfd
#endif
-
#define CSELECT_IN 0x01
#define CSELECT_OUT 0x02
#define CSELECT_ERR 0x04
-int Curl_select(int readfd, int writefd, int timeout_ms);
+int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms);
int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);