diff options
author | Denis Vlasenko | 2007-04-10 15:42:06 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-10 15:42:06 +0000 |
commit | ff131b980d524a33d8a43cefe65e14f64a43f2da (patch) | |
tree | 82d252f04f9a8511be452dcd8b5e322c59653c72 /shell | |
parent | 163516da3ae54a587fb476c621793bd206f380c2 (diff) | |
download | busybox-ff131b980d524a33d8a43cefe65e14f64a43f2da.zip busybox-ff131b980d524a33d8a43cefe65e14f64a43f2da.tar.gz |
style fixes. No code changes.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/shell/hush.c b/shell/hush.c index 5bc83bc..666604d 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2044,7 +2044,7 @@ static int reserved_word(o_string *dest, struct p_context *ctx) *ctx = *old; /* physical copy */ free(old); } - b_reset (dest); + b_reset(dest); return 1; } } @@ -2666,7 +2666,7 @@ static void setup_job_control(void) static pid_t shell_pgrp; /* Loop until we are in the foreground. */ while (tcgetpgrp (shell_terminal) != (shell_pgrp = getpgrp ())) - kill (- shell_pgrp, SIGTTIN); + kill(- shell_pgrp, SIGTTIN); /* Ignore interactive and job-control signals. */ signal(SIGINT, SIG_IGN); diff --git a/shell/lash.c b/shell/lash.c index 192900b..f9d9deb 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -582,7 +582,7 @@ static int setup_redirects(struct child_prog *prog, int squirrel[]) if (openfd != redir->fd) { if (squirrel && redir->fd < 3) { squirrel[redir->fd] = dup(redir->fd); - fcntl (squirrel[redir->fd], F_SETFD, FD_CLOEXEC); + fcntl(squirrel[redir->fd], F_SETFD, FD_CLOEXEC); } dup2(openfd, redir->fd); close(openfd); @@ -763,7 +763,7 @@ static int expand_arguments(char *command) free(tmpcmd); /* Free mem allocated by strsep_space */ if (retval == GLOB_NOSPACE) { /* Mem may have been allocated... */ - globfree (&expand_result); + globfree(&expand_result); bb_error_msg(out_of_space); return FALSE; } else if (retval != 0) { @@ -786,7 +786,7 @@ static int expand_arguments(char *command) strcat(command+total_length, expand_result.gl_pathv[i]); total_length += length; } - globfree (&expand_result); + globfree(&expand_result); } } free(cmd_copy); @@ -1478,7 +1478,7 @@ static void setup_job_control(void) if (status == (shell_pgrp = getpgrp ())) { break; } - kill (- shell_pgrp, SIGTTIN); + kill(- shell_pgrp, SIGTTIN); } /* Ignore interactive and job-control signals. */ |