utility for finding unused function declarations