fixed declaration of functions with void parameters