Blame SOURCES/glibc-rh1505492-prototypes-wcsrchr.patch

c6d234
Introduce prototype-style function definition for 32-bit POWER wcsrchr.
c6d234
Upstream removed the old-style function definition in:
c6d234
c6d234
commit bb04e529f60df7138a4fe5f1ed016dd87ade59a3
c6d234
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
c6d234
Date:   Mon Oct 14 09:26:07 2013 -0500
c6d234
c6d234
    PowerPC: multiarch wcsrchr for PowerPC32
c6d234
c6d234
diff --git a/sysdeps/powerpc/powerpc32/power6/wcsrchr.c b/sysdeps/powerpc/powerpc32/power6/wcsrchr.c
c6d234
index 333650190afff171..4deb44966915679f 100644
c6d234
--- a/sysdeps/powerpc/powerpc32/power6/wcsrchr.c
c6d234
+++ b/sysdeps/powerpc/powerpc32/power6/wcsrchr.c
c6d234
@@ -21,9 +21,7 @@
c6d234
 
c6d234
 /* Find the last occurrence of WC in WCS.  */
c6d234
 wchar_t *
c6d234
-wcsrchr (wcs, wc)
c6d234
-     const wchar_t *wcs;
c6d234
-     const wchar_t wc;
c6d234
+wcsrchr (const wchar_t *wcs, const wchar_t wc)
c6d234
 {
c6d234
   const wchar_t *wcs2 = wcs + 1;
c6d234
   const wchar_t *retval = NULL;