1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/libunp/files/patch-lib_wrapsock_r.c
Adam Weinberger 69ea23ed71 Rename net/ patch-xy patches to reflect the files they modify.
Approve by:	portmgr (not really, but one of these is modifying
		an unstaged port)
2014-07-29 01:59:16 +00:00

23 lines
404 B
C

--- lib/wrapsock_r.c.orig Thu Sep 30 12:04:02 1999
+++ lib/wrapsock_r.c Thu Sep 30 12:04:10 1999
@@ -97,19 +97,6 @@
}
/* 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)
{