calc: fix 'make syntax-check' errors