Xref: utzoo comp.lang.c:23346 comp.lang.c++:5245 comp.std.c:1959 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!usc!snorkelwacker!mit-eddie!bbn!oliveb!tymix!cirrusl!sunseeker!dhesi From: dhesi@sunseeker.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c,comp.lang.c++,comp.std.c Subject: Re: Automatic converters (K&R C => ANSI C) (K&R C => C++) (ANSI C => K&R C) Message-ID: <1004@cirrusl.UUCP> Date: 26 Oct 89 08:01:08 GMT References: <1989Oct22.113105.29034@paris.ics.uci.edu> Sender: news@cirrusl.UUCP Reply-To: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Organization: Cirrus Logic Inc. Lines: 25 In article <1989Oct22.113105.29034@paris.ics.uci.edu> rfg@ics.uci.edu (Ron Guilmette) writes: > Protoize is a tool which assists in the conversion of > old style (K&R) C code to new style (ANSI) C code or to > C++ code. What I really need is a tool that takes either int xyz(char *c, FILE *f); or int xyz(); and produces: #ifdef ANSIPROTO int xyz(char *c, FILE *f); #else int xyz(); #endif Rahul Dhesi UUCP: oliveb!cirrusl!dhesi Use above addresses--email sent here via Sun.com will probably bounce.