bc: support void functions (GNU compat)
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Jan 2019 12:58:46 +0000 (13:58 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Jan 2019 12:58:46 +0000 (13:58 +0100)
commit54f5c1d6006ffbf03455a180ba6b7cbd5352b7f5
treea779671638b391ef5e04603f3efbbc24033ae36d
parent1db367a8e65a74277360a89885ff7d377b5feb8b
bc: support void functions (GNU compat)

function                                             old     new   delta
xc_program_print                                       -     689    +689
zxc_vm_process                                       814     869     +55
zxc_program_exec                                    4098    4116     +18
zxc_program_assign                                   385     392      +7
bc_result_free                                        43      46      +3
zxc_program_binOpPrep                                243     245      +2
zdc_program_execStr                                  518     520      +2
zxc_program_print                                    683       -    -683
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 6/0 up/down: 776/-683)           Total: 93 bytes

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