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

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