Blame SOURCES/glibc-rh1505492-prototypes-readv-writev.patch

25845f
Introduce prototype-style function definitions for readv and writev.
25845f
Upstream, the old-style function definitions were removed in:
25845f
25845f
commit 42b7f5d48549b85386a9b28a1a90e66fd81ba273
25845f
Author: Joseph Myers <joseph@codesourcery.com>
25845f
Date:   Mon Oct 20 15:49:08 2014 +0000
25845f
25845f
    Move readv and writev definitions to syscalls.list (bug 14138).
25845f
25845f
diff --git a/sysdeps/unix/sysv/linux/readv.c b/sysdeps/unix/sysv/linux/readv.c
25845f
index e8acd65ce377963a..e49d54ede39d45af 100644
25845f
--- a/sysdeps/unix/sysv/linux/readv.c
25845f
+++ b/sysdeps/unix/sysv/linux/readv.c
25845f
@@ -39,10 +39,7 @@ static ssize_t __atomic_readv_replacement (int, const struct iovec *,
25845f
 
25845f
 
25845f
 ssize_t
25845f
-__libc_readv (fd, vector, count)
25845f
-     int fd;
25845f
-     const struct iovec *vector;
25845f
-     int count;
25845f
+__libc_readv (int fd, const struct iovec *vector, int count)
25845f
 {
25845f
   ssize_t result;
25845f
 
25845f
diff --git a/sysdeps/unix/sysv/linux/writev.c b/sysdeps/unix/sysv/linux/writev.c
25845f
index 8b018ecdf6fbc323..847a1057aa443238 100644
25845f
--- a/sysdeps/unix/sysv/linux/writev.c
25845f
+++ b/sysdeps/unix/sysv/linux/writev.c
25845f
@@ -38,10 +38,7 @@ static ssize_t __atomic_writev_replacement (int, const struct iovec *,
25845f
 
25845f
 
25845f
 ssize_t
25845f
-__libc_writev (fd, vector, count)
25845f
-     int fd;
25845f
-     const struct iovec *vector;
25845f
-     int count;
25845f
+__libc_writev (int fd, const struct iovec *vector, int count)
25845f
 {
25845f
   ssize_t result;
25845f