Converting old style functions to new
Arthur B. Smith
art at dinorah.wustl.edu
Thu Mar 1 07:49:19 AEST 1990
Oh netlanders,
I am looking for two tools. We have a fairly large body of C code
which currently uses all old-style C function definitions. As part of
a general portability/cleanup pass, we want to convert them to new
style C function definitions, and use prototypes with them.
One of the tools I would like would convert old style function
definitions to new style ones. It would be nice if it did "the right
thing" (for us) as far as indentation goes, but that's gravy.
The other tool I would like, and one that seems like it ought to
exist anyway is a program that automatically extracts function
prototypes from C code. It should leave the indentation just as it is
in the definition, simply adding the semicolon immediately following
the close paren.
Does anyone have these tools available?
Please send responses to me. I will post a summary if there is
interest. I am
art smith
(art at dinorah.wustl.edu -or- ...!uunet!wucs1!dinorah!art)
More information about the Comp.lang.c
mailing list