Switch cDecl to scalar cType.
Switch genCType to return scalar function declarations.
Remove dead code.