aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/recvfrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/recvfrom.c')
-rw-r--r--lib/libc/sys/recvfrom.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/sys/recvfrom.c b/lib/libc/sys/recvfrom.c
index aa6ef3fb7be2..04738d06a71c 100644
--- a/lib/libc/sys/recvfrom.c
+++ b/lib/libc/sys/recvfrom.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2014 The FreeBSD Foundation.
- * All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
@@ -30,9 +29,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/types.h>
#include <sys/syscall.h>
#include <sys/socket.h>
@@ -45,9 +41,5 @@ ssize_t
recvfrom(int s, void *buf, size_t len, int flags,
struct sockaddr * __restrict from, socklen_t * __restrict fromlen)
{
-
- return (((ssize_t (*)(int, void *, size_t, int,
- struct sockaddr *, socklen_t *))
- __libc_interposing[INTERPOS_recvfrom])(s, buf, len, flags,
- from, fromlen));
+ return (INTERPOS_SYS(recvfrom, s, buf, len, flags, from, fromlen));
}