mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c46f10d6d1
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. WWW: http://www.vex.net/~cthuang/cproto/ PR: ports/16704 Submitted by: Abel Chow <abel@Island.DHS.ORG>
20 lines
816 B
Plaintext
20 lines
816 B
Plaintext
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.
|
|
|
|
Cproto is in the public domain, except for the configure script which is
|
|
copyrighted by the Free Software Foundation, Inc. If you have any comments
|
|
or find any bugs, please let me know.
|
|
|
|
WWW: http://www.vex.net/~cthuang/cproto/
|
|
|
|
Chin Huang
|
|
cthuang@vex.net
|
|
cthuang@interlog.com
|