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