Function prototyping and back again
Bruce W. Mohler
bruno at sdcc10.ucsd.edu
Wed Dec 20 12:19:34 AEST 1989
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 at sdcc10.ucsd.edu
voice: 619/586-2218
More information about the Comp.lang.c
mailing list