diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-04-07 13:11:37 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-04-07 13:11:37 +0000 |
commit | d62260efbb210817cdf2745812dff843031c5840 (patch) | |
tree | ebc4ba9c0621c6491f9d8efd979ae4c81228fa93 /usr.bin/make/cmd_exec.c | |
parent | b6a90d9cabfe2b5212651fce2cc785fffd80893f (diff) |
ISO function declarations, trim a few comments, rename a few variables to
more explicit/more consistent names.
okay otto@
Diffstat (limited to 'usr.bin/make/cmd_exec.c')
-rw-r--r-- | usr.bin/make/cmd_exec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/make/cmd_exec.c b/usr.bin/make/cmd_exec.c index ea7e3d8072c..2212a54e601 100644 --- a/usr.bin/make/cmd_exec.c +++ b/usr.bin/make/cmd_exec.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: cmd_exec.c,v 1.4 2003/10/19 20:23:34 tedu Exp $ */ +/* $OpenBSD: cmd_exec.c,v 1.5 2004/04/07 13:11:35 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -38,9 +38,7 @@ #include "pathnames.h" char * -Cmd_Exec(cmd, err) - const char *cmd; - char **err; +Cmd_Exec(const char *cmd, char **err) { char *args[4]; /* Args for invoking the shell */ int fds[2]; /* Pipe streams */ |