bruno@sdcc10.ucsd.edu (Bruce W. Mohler) (12/20/89)
Does any one know of a filter command that would allow me
to take nice ANSI function prototypes ala:
main (int argc, char *argv[])
{
...
}
and turn them into the older format:
main (argc, argv)
int argc;
char *argv[];
{
...
}
It would be especially good if the program worked in either
direction.
(I'm porting from MS C 5.1 into XEN*X/UN*X. MS C knows about
function prototypes. Neither the XEN*X nor UN*X compilers do.
No flames. No judgements here. I just need to be able to
move between the two formats.)
Thanks in advance.
--
Bruce W. Mohler
Systems Programmer (aka Staff Analyst)
bruno@sdcc10.ucsd.edu
voice: 619/586-2218