function prototype problem

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Nov 22 08:44:12 AEST 1988


In article <1763 at scolex> seanf at sco.COM (Sean Fagan) writes:
>However, I also prefer declaring parameters the old-style way, ...
>Again, I think most ANSI-C compilers will support this as an option, ...

It's not an option; ANSI C requires that old-style declarations and
definitions also be supported.  It is the attempt to mix both styles
for the same function that causes potential problems.



More information about the Comp.lang.c mailing list