list function declarations in c headers?

Status
Not open for further replies.

agifford

Ars Tribunus Militum
2,142
Im paring down a large c library, and have already removed sections of the source files, but have been neglecting the header files that external users will make use of. Is there a way to list the visible/effective declarations (particularly functions) from headers? This would help over a more manual process of comparing the .so symbols against headers by hand.

I know you can do something similar for what macro values are after pre-processing.

magic clang flags are a plus.
 
Status
Not open for further replies.