25845f
Convert __stpcpy_chk and __strcpy_chk to prototype-style function
25845f
definitions.  Upstream, this happened as part of:
25845f
25845f
commit 0d0325ed4b1052f32069eb3a51f7e16485a73568
25845f
Author: Ondřej Bílka <neleai@seznam.cz>
25845f
Date:   Tue Aug 25 12:23:24 2015 +0200
25845f
25845f
    Fix strcpy_chk and stpcpy_chk performance.
25845f
25845f
diff --git a/debug/stpcpy_chk.c b/debug/stpcpy_chk.c
25845f
index 3934d132d930093c..ba8058051857ef16 100644
25845f
--- a/debug/stpcpy_chk.c
25845f
+++ b/debug/stpcpy_chk.c
25845f
@@ -24,10 +24,7 @@
25845f
 
25845f
 /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST.  */
25845f
 char *
25845f
-__stpcpy_chk (dest, src, destlen)
25845f
-     char *dest;
25845f
-     const char *src;
25845f
-     size_t destlen;
25845f
+__stpcpy_chk (char *dest, const char *src, size_t destlen)
25845f
 {
25845f
   char *d = dest;
25845f
   const char *s = src;
25845f
diff --git a/debug/strcpy_chk.c b/debug/strcpy_chk.c
25845f
index ee22b11cd33afdde..7cbe14a327dc7992 100644
25845f
--- a/debug/strcpy_chk.c
25845f
+++ b/debug/strcpy_chk.c
25845f
@@ -23,10 +23,7 @@
25845f
 
25845f
 /* Copy SRC to DEST with checking of destination buffer overflow.  */
25845f
 char *
25845f
-__strcpy_chk (dest, src, destlen)
25845f
-     char *dest;
25845f
-     const char *src;
25845f
-     size_t destlen;
25845f
+__strcpy_chk (char *dest, const char *src, size_t destlen)
25845f
 {
25845f
   char c;
25845f
   char *s = (char *) src;