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

25845f
Introduce prototype-style definition for execve.  Upstream, the
25845f
old-style function definition was removed in:
25845f
25845f
commit 6268f532b6c6be7971cb57883d042bd771966548
25845f
Author: Joseph Myers <joseph@codesourcery.com>
25845f
Date:   Wed Oct 1 20:58:20 2014 +0000
25845f
25845f
    Move execve to syscalls.list (bug 14138).
25845f
25845f
diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c
25845f
index 34fd14bf6afc5417..872b150784d41007 100644
25845f
--- a/sysdeps/unix/sysv/linux/execve.c
25845f
+++ b/sysdeps/unix/sysv/linux/execve.c
25845f
@@ -25,10 +25,7 @@
25845f
 /* Consider moving to syscalls.list.  */
25845f
 
25845f
 int
25845f
-__execve (file, argv, envp)
25845f
-     const char *file;
25845f
-     char *const argv[];
25845f
-     char *const envp[];
25845f
+__execve (const char *file, char *const argv[], char *const envp[])
25845f
 {
25845f
   return INLINE_SYSCALL (execve, 3, file, argv, envp);
25845f
 }