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

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