ash: get rid of two global data variables
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Oct 2016 02:05:15 +0000 (04:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 7 Oct 2016 02:05:15 +0000 (04:05 +0200)
commit4c438b5ba4a209a6f47400fe192e9d807c8fe8fd
tree411b0be2b74255593b302e5bd2b39c72e31e9770
parentf37e1155aabde6bd95d267a8aec347cedccb8bc3
ash: get rid of two global data variables

function                                             old     new   delta
calcsize                                             126     147     +21
funcstring_end                                         -       4      +4
sizenodelist                                          28      24      -4
funcstringsize                                         4       -      -4
funcstring                                             4       -      -4
funcblocksize                                          4       -      -4
nodeckstrdup                                          48      39      -9
evaltree                                             828     788     -40
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 1/4 up/down: 25/-105)           Total: -40 bytes
   text    data     bss     dec     hex filename
 943376     916   14292  958584   ea078 busybox_old
 943344     916   14284  958544   ea050 busybox_unstripped

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