commit
dd2b31dec0c0e792bec0486d72c8a049eea4bee1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Sep 3 02:45:06 2017 +0200
hurd: Fix p{read,write}{,v64}v2.c build
* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
* sysdeps/posix/preadv64v2.c: Use off_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.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-preadwritev2.diff
/* Since we define no flags for preadv2 just route to preadv. */
ssize_t
-preadv2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+preadv2 (int fd, const struct iovec *vector, int count, off_t offset,
int flags)
{
if (flags != 0)
#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, off_t offset,
int flags)
{
if (flags != 0)
/* Since we define no flags for pwritev2 just route to pwritev. */
ssize_t
-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,
int flags)
{
if (flags != 0)
/* 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, off_t offset,
int flags)
{
if (flags != 0)