remove obsolet function declarations