cproto

Generate C function prototype from C source code

Contributed by
Larry Philps
Obtained from
News
Restrictions
Public Domain
Description
This program reads C source files, and generates ANSI function prototypes that can be used in those files to properly declare functions. It uses "/bin/cc -E" as the C preprocessor, so that all normal SCO manifest defines are present when procesing the system header files.
Productivity
Functions prototypes are a "good thing", and this program makes it easy to add them to all your software.
Safety
Used it for a year or two
Work Planned
None
Documentation
Manual page
Verification
Run it on any C source file. (ie cproto file.c). It takes the same -I and -D flags as cc.