aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:45:06 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-03 02:45:06 +0200
commitdd2b31dec0c0e792bec0486d72c8a049eea4bee1 (patch)
tree2898015655bf67d47c43336966b07a24a3848efa
parent01969395db01fedcd3fb76d76654b24908e5757b (diff)
downloadglibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.zip
glibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.tar.gz
glibc-dd2b31dec0c0e792bec0486d72c8a049eea4bee1.tar.bz2
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/posix/preadv2.c2
-rw-r--r--sysdeps/posix/preadv64v2.c2
-rw-r--r--sysdeps/posix/pwritev2.c2
-rw-r--r--sysdeps/posix/pwritev64v2.c2
5 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cf6866c..a4634b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c
index d27f702..b79b7b1 100644
--- a/sysdeps/posix/preadv2.c
+++ b/sysdeps/posix/preadv2.c
@@ -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)
diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c
index ce7cb40..ab71f02 100644
--- a/sysdeps/posix/preadv64v2.c
+++ b/sysdeps/posix/preadv64v2.c
@@ -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)
diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c
index 7ec8cbc..d746059 100644
--- a/sysdeps/posix/pwritev2.c
+++ b/sysdeps/posix/pwritev2.c
@@ -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)
diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c
index be98aee..bf62d74 100644
--- a/sysdeps/posix/pwritev64v2.c
+++ b/sysdeps/posix/pwritev64v2.c
@@ -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)