hush: ifdef out parts which are not needed
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jun 2008 00:50:07 +0000 (00:50 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 24 Jun 2008 00:50:07 +0000 (00:50 -0000)
commit5ec6132c9884f1f6ccbcc8277cb73220462a2133
tree3944b70fa297304042d48acb52b32359433c5c97
parent003f9fb213e034dcfd3bdbd93e4d60315002d473
hush: ifdef out parts which are not needed
if neither loops nor ifs are supported. Code savings:

function                                             old     new   delta
parse_stream                                        1758    1757      -1
checkjobs                                            335     318     -17
done_pipe                                             74      52     -22
expand_variables                                    1437    1407     -30
run_list                                            1232    1189     -43
parse_and_run_stream                                 328     267     -61
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-174)           Total: -174 bytes
shell/hush.c