shell/math.c: stop using bss variable
authorDenys Vlasenko <dvlasenk@redhat.com>
Mon, 13 Sep 2010 10:49:52 +0000 (12:49 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Mon, 13 Sep 2010 10:49:52 +0000 (12:49 +0200)
commit0eac8ff1648f94a79a0e21731ec993dd73d946db
treee042b1fa115124dc7df79c143fac2de7ce9e128a
parent06d44d7dfb709bfe02e74d187cceb8591bbda3b4
shell/math.c: stop using bss variable

function                                             old     new   delta
evaluate_string                                        -     678    +678
expand_one_var                                      1543    1563     +20
builtin_type                                         114     116      +2
expand_and_evaluate_arith                             89      87      -2
prev_chk_var_recursive                                 4       -      -4
ash_arith                                            122     118      -4
arith_lookup_val                                     142     132     -10
arith                                                674      12    -662
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/4 up/down: 700/-682)           Total: 18 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/math.c
shell/math.h