Xref: utzoo comp.lang.c:24616 comp.std.c:2287 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!sdcc6!sdcc10!bruno From: bruno@sdcc10.ucsd.edu (Bruce W. Mohler) Newsgroups: comp.lang.c,comp.std.c Subject: Function prototyping and back again Keywords: function prototypes Message-ID: <5790@sdcc6.ucsd.edu> Date: 20 Dec 89 01:19:34 GMT Sender: news@sdcc6.ucsd.edu Followup-To: poster Lines: 32 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