Top > Software development > Programs for small specific development tasks > protoize

protoize - Creates or removes prototypes from C code

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.

Obtaining

Licensed under The GNU General Public License, Version 2 or later.
This is not a GNU package.

Support contacts


Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Programsprotize, unprotoize
Source languagesC
Supported languagesC

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2001-07-24
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.