diff options
Diffstat (limited to 'lib/libc/gen/exec.c')
-rw-r--r-- | lib/libc/gen/exec.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c index 97bf6edc3f3..ea3d2cdbb74 100644 --- a/lib/libc/gen/exec.c +++ b/lib/libc/gen/exec.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: exec.c,v 1.15 2003/06/02 20:18:34 millert Exp $"; +static char rcsid[] = "$OpenBSD: exec.c,v 1.16 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -124,18 +124,14 @@ execlp(const char *name, const char *arg, ...) } int -execv(name, argv) - const char *name; - char * const *argv; +execv(const char *name, char * const *argv) { (void)execve(name, argv, environ); return (-1); } int -execvp(name, argv) - const char *name; - char * const *argv; +execvp(const char *name, char * const *argv) { char **memp; register int cnt, lp, ln, len; |