diff options
Diffstat (limited to 'lib/libc/net/recv.c')
-rw-r--r-- | lib/libc/net/recv.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/net/recv.c b/lib/libc/net/recv.c index 6a584ca..f71d478 100644 --- a/lib/libc/net/recv.c +++ b/lib/libc/net/recv.c @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/socket.h> -#include "libc_private.h" #include <stddef.h> @@ -49,8 +48,5 @@ recv(s, buf, len, flags) * POSIX says recv() shall be a cancellation point, so call the * cancellation-enabled recvfrom() and not _recvfrom(). */ - return (((ssize_t (*)(int, void *, size_t, int, - struct sockaddr *, socklen_t *)) - __libc_interposing[INTERPOS_recvfrom])(s, buf, len, flags, - NULL, NULL)); + return (recvfrom(s, buf, len, flags, NULL, 0)); } |