blob: 8032254ed7c94aa591694ee91ce1ebe9907d4d82 (
plain)
1
2
3
4
5
6
7
8
9
|
Cproto is a program that generates function prototypes and variable
declarations from C source code. It can also convert function definitions
between the old style and the ANSI C style. This conversion overwrites the
original files, so make a backup copy of your files in case something goes
wrong.
The program isn't confused by complex function definitions as much as other
prototype generators because it uses a yacc generated parser. By ignoring all
the input between braces, I avoided implementing the entire C language grammar.
|