From 860b51c84ac7d763400e7e036f290e3c084dec35 Mon Sep 17 00:00:00 2001 From: Vlad Starodubtsev Date: Thu, 26 Oct 2017 17:22:33 +0300 Subject: Fix prototypes for preadv pwritev. --- include/sys/uio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/sys/uio.h b/include/sys/uio.h index 78341ed40..aa766f9b1 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -59,7 +59,7 @@ extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count); This function is a cancellation point and therefore not marked with __THROW. */ extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, - __off_t __offset) __wur; + off_t __offset) __wur; /* Write data pointed by the buffers described by IOVEC, which is a vector of COUNT 'struct iovec's, to file descriptor FD at the given @@ -71,7 +71,7 @@ extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, This function is a cancellation point and therefore not marked with __THROW. */ extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, - __off_t __offset) __wur; + off_t __offset) __wur; #endif /* Use misc. */ __END_DECLS -- cgit v1.2.3