diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2008-07-11 14:21:29 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2008-07-11 14:21:29 +0000 |
commit | 7bd488e7c78e06de5f445f4f2669397298dbfb9c (patch) | |
tree | 0684416aa66987b30b47fcde37d467d0ae4a7422 /app/cwm/util.c | |
parent | b8d1b4702426abb5c0ce0b5ea49d5874e1fd1e47 (diff) |
spacing, declaration lineup to be consistent throughout cwm,
readability, and a bit of knf.
ok oga@
Diffstat (limited to 'app/cwm/util.c')
-rw-r--r-- | app/cwm/util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/cwm/util.c b/app/cwm/util.c index 4c55924d0..e9c0591d1 100644 --- a/app/cwm/util.c +++ b/app/cwm/util.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: util.c,v 1.9 2008/05/15 22:18:00 oga Exp $ + * $Id: util.c,v 1.10 2008/07/11 14:21:28 okan Exp $ */ #include "headers.h" @@ -44,9 +44,8 @@ u_spawn(char *argstr) void u_exec(char *argstr) { - char *args[MAXARGLEN], **ap = args; - char **end = &args[MAXARGLEN - 1]; - char *tmp; + char *args[MAXARGLEN], **ap = args; + char **end = &args[MAXARGLEN - 1], *tmp; while (ap < end && (*ap = strsep(&argstr, " \t")) != NULL) { if (**ap == '\0') |