Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Func Protos with K&R Func Defs Message-ID: Date: 1 Mar 91 22:53:54 GMT References: <11614@jpl-devvax.JPL.NASA.GOV> <1991Feb28.021715.18153@athena.mit.edu> <15354@smoke.brl.mil> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 11 In article <15354@smoke.brl.mil> gwyn@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@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"