Blame SOURCES/glibc-rh1505492-prototypes-powerpc-pread-pwrite.patch

25845f
Introduce prototype-style function definitions for pread, pwrite,
25845f
pread64, pwrite64.  Upstream removed the old-style function definitions
25845f
in:
25845f
25845f
commit 94a42455257226361fedf37a0ad7fc1d9d131645
25845f
Author: Joseph Myers <joseph@codesourcery.com>
25845f
Date:   Fri Oct 31 21:13:32 2014 +0000
25845f
25845f
    Move powerpc64 pread/pwrite definitions to syscalls.list (bug 14138).
25845f
25845f
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25845f
index 43ead1af67b0c0da..010fca1b6bb0d4b0 100644
25845f
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25845f
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25845f
@@ -29,11 +29,7 @@
25845f
 /* Consider moving to syscalls.list.  */
25845f
 
25845f
 ssize_t
25845f
-__libc_pread (fd, buf, count, offset)
25845f
-     int fd;
25845f
-     void *buf;
25845f
-     size_t count;
25845f
-     off_t offset;
25845f
+__libc_pread (int fd, void *buf, size_t count, off_t offset)
25845f
 {
25845f
   ssize_t result;
25845f
 
25845f
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25845f
index dc9fc81c4ccf067e..bcf1bebd75ebf8f5 100644
25845f
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25845f
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25845f
@@ -28,11 +28,7 @@
25845f
 /* Consider moving to syscalls.list.  */
25845f
 
25845f
 ssize_t
25845f
-__libc_pread64 (fd, buf, count, offset)
25845f
-     int fd;
25845f
-     void *buf;
25845f
-     size_t count;
25845f
-     off64_t offset;
25845f
+__libc_pread64 (int fd, void *buf, size_t count, off64_t offset)
25845f
 {
25845f
   ssize_t result;
25845f
 
25845f
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25845f
index 57c62bdb74805836..ff9f5c4d8ef3e26d 100644
25845f
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25845f
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25845f
@@ -29,11 +29,7 @@
25845f
 /* Consider moving to syscalls.list.  */
25845f
 
25845f
 ssize_t
25845f
-__libc_pwrite (fd, buf, count, offset)
25845f
-     int fd;
25845f
-     const void *buf;
25845f
-     size_t count;
25845f
-     off_t offset;
25845f
+__libc_pwrite (int fd, const void *buf, size_t count, off_t offset)
25845f
 {
25845f
   ssize_t result;
25845f
 
25845f
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25845f
index 430bb4ef2bd2eb3e..b2f630396cf53b39 100644
25845f
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25845f
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25845f
@@ -28,11 +28,7 @@
25845f
 /* Consider moving to syscalls.list.  */
25845f
 
25845f
 ssize_t
25845f
-__libc_pwrite64 (fd, buf, count, offset)
25845f
-     int fd;
25845f
-     const void *buf;
25845f
-     size_t count;
25845f
-     off64_t offset;
25845f
+__libc_pwrite64 (int fd, const void *buf, size_t count, off64_t offset)
25845f
 {
25845f
   ssize_t result;
25845f