From c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 9 Feb 2011 00:13:47 +0100 Subject: [PATCH] poll: Remove obsolete win_poll functions. Thanks for the hint Milo ;) --- src/poll.c | 8 -------- 1 file changed, 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;