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.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.