How to find unused structure definitions in C automatically?

Viewed 164

GCC will warn on unused functions, labels, etc. But it seems it doesn't warn on unused definitions? Is there a way to detect unused struct definitions automatically?

1 Answers
Related