Robert said:
What exactly would be the prescribed procedure for obtaining a
list of all functions in a source file using cscope?
Cscope does seem to be a problem. It also has some funny ideas
about what constitutes a function.
However the xref I include in the hashlib package (DOS executable
only, source is lost) marks all function names with a terminal ().
So you can easily pick out the list with simple things such as
"grep () <xrefoutput.xrf>". However it won't discriminate between
static declarations in different files. It considers functional
macros to be functions and has similar failings to cscope. To
illustrate:
#include <iso646.h>
int main(void) {
while (not(something)) continue;
....
and cscope and xref both think not is a function.