aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/readv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/readv.c')
-rw-r--r--lib/libc/sys/readv.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/sys/readv.c b/lib/libc/sys/readv.c
index 567292750da0..78a529254fa0 100644
--- a/lib/libc/sys/readv.c
+++ b/lib/libc/sys/readv.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/uio.h>
@@ -45,7 +41,5 @@ __weak_reference(__sys_readv, __readv);
ssize_t
readv(int fd, const struct iovec *iov, int iovcnt)
{
-
- return (((ssize_t (*)(int, const struct iovec *, int))
- __libc_interposing[INTERPOS_readv])(fd, iov, iovcnt));
+ return (INTERPOS_SYS(readv, fd, iov, iovcnt));
}