aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-10-03 16:58:10 +0000
committerYang Tse <yangsita@gmail.com>2007-10-03 16:58:10 +0000
commita11c8a6ea0cd3c63bc28a673881a46d52e0597e7 (patch)
tree0f4c82a71d75f6753cf64101a8d484e38dbcc2bc /lib
parent2858935187c01a0960f4fb7f2ceae5628197fea1 (diff)
Cleanup no longer used macros
Diffstat (limited to 'lib')
-rw-r--r--lib/select.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/select.c b/lib/select.c
index 3f81ba180..2d5522326 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -53,7 +53,6 @@
#if defined(USE_WINSOCK) || defined(TPF)
#define VERIFY_SOCK(x) do { } while (0)
-#define VERIFY_NFDS(x) do { } while (0)
#else
#define VALID_SOCK(s) (((s) >= 0) && ((s) < FD_SETSIZE))
#define VERIFY_SOCK(x) do { \
@@ -62,13 +61,6 @@
return -1; \
} \
} while(0)
-#define VALID_NFDS(n) (((n) >= 0) && ((n) <= FD_SETSIZE))
-#define VERIFY_NFDS(x) do { \
- if(!VALID_NFDS(x)) { \
- SET_SOCKERRNO(EINVAL); \
- return -1; \
- } \
-} while(0)
#endif
/* Convenience local macros */
@@ -81,8 +73,6 @@
#define error_is_EINTR (0)
#endif
-#define SMALL_POLLNFDS 0x20
-
/*
* Internal function used for waiting a specific amount of ms
* in Curl_socket_ready() and Curl_poll() when no file descriptor