fix function defintions with void parameters