Func Protos with K&R Func Defs
Peter da Silva
peter at ficc.ferranti.com
Sat Mar 2 09:53:54 AEST 1991
In article <15354 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
> This is not true. The types must be compatible, but subject to that
> constraint the use of "old-style definitions" is compatible with the
> use of prototypes.
Only if the prototype is in scope when it sees the definition. The compiler
might generate a different calling sequence for prototyped functions because
it knows the argument count.
--
Peter da Silva. `-_-' peter at ferranti.com
+1 713 274 5180. 'U` "Have you hugged your wolf today?"
More information about the Comp.lang.c
mailing list