shell/math.c: rename arith_eval_hooks to arith_state, put error code into it
authorDenys Vlasenko <dvlasenk@redhat.com>
Mon, 13 Sep 2010 10:49:03 +0000 (12:49 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Mon, 13 Sep 2010 10:49:03 +0000 (12:49 +0200)
commit06d44d7dfb709bfe02e74d187cceb8591bbda3b4
tree9a2a8e8381cecae29a5c02ed10995d0a0ad9d412
parentbd14770b0c8594ce5b0ab9b0b1249b72fc781dd3
shell/math.c: rename arith_eval_hooks to arith_state, put error code into it

function                                             old     new   delta
expand_and_evaluate_arith                             79      89     +10
arith                                                675     674      -1
arith_lookup_val                                     151     142      -9
ash_arith                                            135     122     -13
arith_apply                                         1304    1269     -35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/4 up/down: 10/-58)            Total: -48 bytes

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