diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-14 06:49:52 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-14 06:49:52 +0000 |
commit | fad04fdd12604a46eff62875343515c33e1863c6 (patch) | |
tree | 7b840eb074878c454141ce76ba7328f4a8621f1b /sh.c | |
parent | b870af09ae1892ab84dd089529675cc2df533e71 (diff) | |
download | busybox-w32-fad04fdd12604a46eff62875343515c33e1863c6.tar.gz busybox-w32-fad04fdd12604a46eff62875343515c33e1863c6.tar.bz2 busybox-w32-fad04fdd12604a46eff62875343515c33e1863c6.zip |
More cleanups.
-Erik
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -150,9 +150,9 @@ static char *cwd = NULL; | |||
150 | static char *local_pending_command = NULL; | 150 | static char *local_pending_command = NULL; |
151 | 151 | ||
152 | #ifdef BB_FEATURE_SH_COMMAND_EDITING | 152 | #ifdef BB_FEATURE_SH_COMMAND_EDITING |
153 | void win_changed(int sig) | 153 | void win_changed(int junk) |
154 | { | 154 | { |
155 | struct winsize win = { 0, 0 }; | 155 | struct winsize win = { 0, 0, 0, 0 }; |
156 | ioctl(0, TIOCGWINSZ, &win); | 156 | ioctl(0, TIOCGWINSZ, &win); |
157 | if (win.ws_col > 0) { | 157 | if (win.ws_col > 0) { |
158 | cmdedit_setwidth( win.ws_col - 1); | 158 | cmdedit_setwidth( win.ws_col - 1); |
@@ -251,7 +251,7 @@ static int builtin_fg_bg(struct job *cmd, struct jobSet *jobList) | |||
251 | } | 251 | } |
252 | 252 | ||
253 | /* built-in 'help' handler */ | 253 | /* built-in 'help' handler */ |
254 | static int builtin_help(struct job *cmd, struct jobSet *junk) | 254 | static int builtin_help(struct job *dummy, struct jobSet *junk) |
255 | { | 255 | { |
256 | struct builtInCommand *x; | 256 | struct builtInCommand *x; |
257 | 257 | ||