diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-02-09 00:13:47 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-02-09 00:13:47 +0100 |
commit | c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb (patch) | |
tree | 9c3d84fd4645b6f64b215c46f82ae40a16d9c36c | |
parent | 5144f390caea09db225ab6960ed70f4bfe7c1e01 (diff) | |
download | libssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.tar.gz libssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.tar.xz libssh-c950ed3b4c2c9a84ae9e94ffc81eb815249f81cb.zip |
poll: Remove obsolete win_poll functions.
Thanks for the hint Milo ;)
-rw-r--r-- | src/poll.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |