aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-14 06:49:52 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-14 06:49:52 +0000
commitfad04fdd12604a46eff62875343515c33e1863c6 (patch)
tree7b840eb074878c454141ce76ba7328f4a8621f1b /shell
parentb870af09ae1892ab84dd089529675cc2df533e71 (diff)
downloadbusybox-fad04fdd12604a46eff62875343515c33e1863c6.tar.gz
More cleanups.
-Erik
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 048394ab6..d829b6b29 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -150,9 +150,9 @@ static char *cwd = NULL;
static char *local_pending_command = NULL;
#ifdef BB_FEATURE_SH_COMMAND_EDITING
-void win_changed(int sig)
+void win_changed(int junk)
{
- struct winsize win = { 0, 0 };
+ struct winsize win = { 0, 0, 0, 0 };
ioctl(0, TIOCGWINSZ, &win);
if (win.ws_col > 0) {
cmdedit_setwidth( win.ws_col - 1);
@@ -251,7 +251,7 @@ static int builtin_fg_bg(struct job *cmd, struct jobSet *jobList)
}
/* built-in 'help' handler */
-static int builtin_help(struct job *cmd, struct jobSet *junk)
+static int builtin_help(struct job *dummy, struct jobSet *junk)
{
struct builtInCommand *x;