The following found one more:
~/src/hipl/trunk $ find . -name \*.c | xargs grep -P -r '^[a-zA-Z0-9]+ .+[a-zA-Z0-9_]+\(.*\);' ./firewall/hslist.c:static SList *slist_last(SList *list);
My idea was to grep for keyword/type at the beginning of the line, then a space, then the function name, some stuff within parentheses and the semicolon. Probably I'm overlooking something, but that should have discovered the most glaring cases.
The following found one more:
~/src/hipl/trunk $ find . -name \*.c | xargs grep -P -r '^[a-zA-Z0-9]+ .+[a-zA- Z0-9_]+ \(.*\); ' hslist. c:static SList *slist_last(SList *list);
./firewall/
My idea was to grep for keyword/type at the beginning of the line, then a space, then the function name, some stuff within parentheses and the semicolon. Probably I'm overlooking something, but that should have discovered the most glaring cases.