The program 'protoize' is an optional part of GNU C. You can use it to add prototypes to a program, thus converting the program to ANSI C in one respect. The companion program unprotoize does the reverse: it removes argument types from any prototypes that are found. The user specifies a set of source files as command line arguments. The conversion programs then compiles these files to see what functions they define. The specified files are all eligible to be converted, as are any files they include (whether sources or just headers). By default, protoize and unprotoize convert only source and header files in the current directory. Basic conversion with protoize consists of rewriting most function definitions and function declarations to specify the types of the arguments. The only ones not rewritten are those for varargs functions.
This is a GNU package:gcc
released on 1 January 1970
|License||Verified by||Verified on||Notes|
|GPLv2orlater||Janet Casey||24 July 2001|
Leaders and contributors
Resources and communication
This entry (in part or in whole) was last reviewed on 24 July 2001.