script to find unused functions defined in headers