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

25845f
Introduce prototype-style function definition for generic stpcpy.
25845f
Upstream part of:
25845f
25845f
commit 142e0a9953059bcf5667921f2670efec377be3d5
25845f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
25845f
Date:   Tue Jul 28 17:12:25 2015 -0300
25845f
25845f
    powerpc: Use default strcpy optimization for POWER7
25845f
25845f
diff --git a/string/stpcpy.c b/string/stpcpy.c
25845f
index b74f6e2b489e1f18..8b2c4c5bb7e1ee74 100644
25845f
--- a/string/stpcpy.c
25845f
+++ b/string/stpcpy.c
25845f
@@ -36,9 +36,7 @@ extern __typeof (__stpcpy) STPCPY;
25845f
 
25845f
 /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST.  */
25845f
 char *
25845f
-__stpcpy (dest, src)
25845f
-     char *dest;
25845f
-     const char *src;
25845f
+__stpcpy (char *dest, const char *src)
25845f
 {
25845f
   char *d = dest;
25845f
   const char *s = src;