bc: fold single-callsite functions into callers, commonalize code
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 05:00:25 +0000 (06:00 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 05:00:25 +0000 (06:00 +0100)
commit88fcd5cc6c9b64daf200860a53783d03c8dfe225
treeb5ea294d59158558fcdce57c76525df37c75e6cf
parent514967df5e5ef21873dc2f8a303e892e3f200ea4
bc: fold single-callsite functions into callers, commonalize code

function                                             old     new   delta
zbc_vm_process                                       699     745     +46
zbc_parse_stmt_possibly_auto                        1689    1682      -7
bc_parse_reset                                       113       -    -113
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 46/-120)           Total: -74 bytes

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