Blame SOURCES/glibc-rh1505492-prototypes-powerpc-wordcopy.patch

c6d234
Introduce prototype-style function definitions for the POWER wordcopy
c6d234
functions.  Upstream, this happened as a side-effect of this commit:
c6d234
c6d234
commit ea5a72f882f878a5ea00d69e56a19c2fc3fd2d2a
c6d234
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
c6d234
Date:   Mon Oct 14 09:59:59 2013 -0500
c6d234
c6d234
    PowerPC: multiarch wordcopy routines for PowerPC32
c6d234
c6d234
diff --git a/sysdeps/powerpc/powerpc32/power4/wordcopy.c b/sysdeps/powerpc/powerpc32/power4/wordcopy.c
c6d234
index e8a35eaeef6e92fe..233a183cd8d8cf8b 100644
c6d234
--- a/sysdeps/powerpc/powerpc32/power4/wordcopy.c
c6d234
+++ b/sysdeps/powerpc/powerpc32/power4/wordcopy.c
c6d234
@@ -27,10 +27,7 @@
c6d234
    Both SRCP and DSTP should be aligned for memory operations on `op_t's.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_fwd_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_fwd_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1;
c6d234
 
c6d234
@@ -65,10 +62,7 @@ _wordcopy_fwd_aligned (dstp, srcp, len)
c6d234
    *not* be aligned.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_fwd_dest_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_fwd_dest_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1, a2;
c6d234
   int sh_1, sh_2;
c6d234
@@ -119,10 +113,7 @@ _wordcopy_fwd_dest_aligned (dstp, srcp, len)
c6d234
    operations on `op_t's.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_bwd_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1;
c6d234
 
c6d234
@@ -158,10 +149,7 @@ _wordcopy_bwd_aligned (dstp, srcp, len)
c6d234
    operations on `op_t', but SRCP must *not* be aligned.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_bwd_dest_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_bwd_dest_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1, a2;
c6d234
   int sh_1, sh_2;
c6d234
diff --git a/sysdeps/powerpc/powerpc32/power6/wordcopy.c b/sysdeps/powerpc/powerpc32/power6/wordcopy.c
c6d234
index 698b82f4fbda9445..bee5e9d53e5fd780 100644
c6d234
--- a/sysdeps/powerpc/powerpc32/power6/wordcopy.c
c6d234
+++ b/sysdeps/powerpc/powerpc32/power6/wordcopy.c
c6d234
@@ -28,10 +28,7 @@
c6d234
    Both SRCP and DSTP should be aligned for memory operations on `op_t's.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_fwd_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_fwd_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1;
c6d234
 
c6d234
@@ -80,10 +77,7 @@ _wordcopy_fwd_aligned (dstp, srcp, len)
c6d234
   while (len != 0)
c6d234
 
c6d234
 void
c6d234
-_wordcopy_fwd_dest_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_fwd_dest_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1, a2;
c6d234
   int sh_1, sh_2;
c6d234
@@ -125,10 +119,7 @@ _wordcopy_fwd_dest_aligned (dstp, srcp, len)
c6d234
    operations on `op_t's.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_bwd_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_bwd_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1;
c6d234
 
c6d234
@@ -178,10 +169,7 @@ _wordcopy_bwd_aligned (dstp, srcp, len)
c6d234
    operations on `op_t', but SRCP must *not* be aligned.  */
c6d234
 
c6d234
 void
c6d234
-_wordcopy_bwd_dest_aligned (dstp, srcp, len)
c6d234
-     long int dstp;
c6d234
-     long int srcp;
c6d234
-     size_t len;
c6d234
+_wordcopy_bwd_dest_aligned (long int dstp, long int srcp, size_t len)
c6d234
 {
c6d234
   op_t a0, a1, a2;
c6d234
   int sh_1, sh_2;