ash,hush: fold shell_builtin_read() way-too-many params into a struct param
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 5 Aug 2018 13:42:29 +0000 (15:42 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 5 Aug 2018 16:11:15 +0000 (18:11 +0200)
commit19358cc31317dca4642417066c1445ce00438e18
tree08b922ba5bbfe026432dc814341bc855892f90dd
parentfd6f295a98956b7f495ba09a56528ef9e0d51398
ash,hush: fold shell_builtin_read() way-too-many params into a struct param

function                                             old     new   delta
getoptscmd                                           587     584      -3
readcmd                                              240     224     -16
shell_builtin_read                                  1426    1399     -27
builtin_read                                         210     182     -28
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-74)             Total: -74 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
shell/hush.c
shell/shell_common.c
shell/shell_common.h