added void as parameter of no param c functions