Comment 2 for bug 592215

Revision history for this message
Diego Biurrun (diego-biurrun) wrote :

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.