there's a program in /mit/watchmaker called 'mkproto' which scans C source generating a prototype header file.