remove unused function declarations from header