shells: remove few statics and duplicated code
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2007 22:34:39 +0000 (22:34 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2007 22:34:39 +0000 (22:34 -0000)
commit7d4c44e1b102c0fb72603d96278bfa8e7aef73bc
tree7b0d54cc6fa9cd93fdd53593d8324e7c86f705c8
parentac678ec2f127fc02a93fff2c164e0b13a94a6abf
shells: remove few statics and duplicated code
(much more of the same remains, alas)
function                                             old     new   delta
doset                                                330     332      +2
warn                                                  53      51      -2
onecommand                                           463     461      -2
ioecho                                                40      38      -2
forkexec                                            1412    1410      -2
err                                                   81      79      -2
setdash                                               59      56      -3
flag                                                   4       -      -4
msh_main                                            1389    1384      -5
eval                                                 388     381      -7
subgetc                                              759     747     -12
static.local                                          14       -     -14
b_adduint                                             70      52     -18
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/10 up/down: 2/-73)            Total: -71 bytes
shell/hush.c
shell/msh.c