Automatic converters (K&R C => ANSI C) (K&R C => C++) (ANSI C => K&R C)

Rahul Dhesi dhesi at sunseeker.UUCP
Thu Oct 26 18:01:08 AEST 1989


In article <1989Oct22.113105.29034 at paris.ics.uci.edu> rfg at 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 <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi
Use above addresses--email sent here via Sun.com will probably bounce.



More information about the Comp.std.c mailing list