Long story short: yesterday, I worked on an old C project and refactor the entire structure. That project counts hundreds of files and, when deleting the unused .c files, I was thinking about an auto-magical method to delete also the coupled .h file.