You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
803 B
25 lines
803 B
Introduce prototype-style definition for execve. Upstream, the |
|
old-style function definition was removed in: |
|
|
|
commit 6268f532b6c6be7971cb57883d042bd771966548 |
|
Author: Joseph Myers <joseph@codesourcery.com> |
|
Date: Wed Oct 1 20:58:20 2014 +0000 |
|
|
|
Move execve to syscalls.list (bug 14138). |
|
|
|
diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c |
|
index 34fd14bf6afc5417..872b150784d41007 100644 |
|
--- a/sysdeps/unix/sysv/linux/execve.c |
|
+++ b/sysdeps/unix/sysv/linux/execve.c |
|
@@ -25,10 +25,7 @@ |
|
/* Consider moving to syscalls.list. */ |
|
|
|
int |
|
-__execve (file, argv, envp) |
|
- const char *file; |
|
- char *const argv[]; |
|
- char *const envp[]; |
|
+__execve (const char *file, char *const argv[], char *const envp[]) |
|
{ |
|
return INLINE_SYSCALL (execve, 3, file, argv, envp); |
|
}
|
|
|