blob: 1246b32a06ab3a8b1c8aecbcddd8087ef1b2be32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- lib/wrapsock_r.c.orig 2016-06-17 22:39:47 UTC
+++ lib/wrapsock_r.c
@@ -97,19 +97,6 @@ Listen(int fd, int backlog)
}
/* end Listen */
-#ifdef HAVE_POLL
-int
-Poll(struct pollfd *fdarray, unsigned long nfds, int timeout)
-{
- int n;
-
- if ( (n = poll(fdarray, nfds, timeout)) < 0)
- err_sys("poll error");
-
- return(n);
-}
-#endif
-
ssize_t
Recv(int fd, void *ptr, size_t nbytes, int flags)
{
|