mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
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.
This commit is contained in:
parent
01969395db
commit
dd2b31dec0
@ -5,6 +5,10 @@
|
||||
parameter.
|
||||
* 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/pwritev2.c: Use off_t instead of OFF_T.
|
||||
* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.
|
||||
|
||||
2017-09-01 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
/* 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)
|
||||
|
@ -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, off_t offset,
|
||||
int flags)
|
||||
{
|
||||
if (flags != 0)
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
/* 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)
|
||||
|
@ -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, off_t offset,
|
||||
int flags)
|
||||
{
|
||||
if (flags != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user