aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-09 00:13:47 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-09 00:13:47 +0100
commitc950ed3b4c2c9a84ae9e94ffc81eb815249f81cb (patch)
tree9c3d84fd4645b6f64b215c46f82ae40a16d9c36c /src
parent5144f390caea09db225ab6960ed70f4bfe7c1e01 (diff)
downloadlibssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.tar.gz
libssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.tar.xz
libssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.zip
poll: Remove obsolete win_poll functions.
Thanks for the hint Milo ;)
Diffstat (limited to 'src')
-rw-r--r--src/poll.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/poll.c b/src/poll.c
index 4cea93fe..0f9af140 100644
--- a/src/poll.c
+++ b/src/poll.c
@@ -117,14 +117,6 @@ typedef int (WSAAPI* WSAPoll_FunctionType)(WSAPOLLFD fdarray[],
static WSAPoll_FunctionType wsa_poll;
-int win_poll(ssh_pollfd_t *fds, nfds_t nfds, int timeout) {
- if (wsa_poll) {
- return (wsa_poll)((WSAPOLLFD *) fds, nfds, timeout);
- }
-
- return SOCKET_ERROR;
-}
-
#define WS2_LIBRARY "ws2_32.dll"
static HINSTANCE hlib;