hurd: Fix p{read,write}v64v2.c build

* sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t.
	* sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t.
This commit is contained in:
Samuel Thibault 2017-09-03 03:00:32 +02:00
parent dd2b31dec0
commit ed95bf5638
3 changed files with 4 additions and 4 deletions

View File

@ -6,9 +6,9 @@
* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
just <bits/types.h>.
* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
* sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
* sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
* sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.
* sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2017-09-01 Joseph Myers <joseph@codesourcery.com>

View File

@ -20,7 +20,7 @@
#include <sys/uio.h>
ssize_t
preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
int flags)
{
if (flags != 0)

View File

@ -21,7 +21,7 @@
/* Since we define no flags for pwritev2 just route to pwritev. */
ssize_t
pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset,
int flags)
{
if (flags != 0)