Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!motcsd!mcdcup!mcdchg!marcal!odgate!mike From: mike@odgate.odesta.com (Mike J. Kelly) Newsgroups: comp.sys.mac.programmer Subject: Re: Using prototypes Message-ID: <1991Apr18.202045.4570@odgate.odesta.com> Date: 18 Apr 91 20:20:45 GMT References: <1991Apr14.021934.8840@watdragon.waterloo.edu> <1991Apr14.104649.20585@ida.liu.se> Organization: Odesta Corporation, Northbrook IL. Lines: 10 David Byers writes: >C compilers (mercifully) does not complain if a function called is not >declared, but the compiler willl make certain assumptions, leaving it >to the linker to find the function. > Not so mercifully, as the example you responded to illustrates (function returning long implicitly declared as returning an int). That's one reason that we ALWAYS run Think C with the "Require Prototypes" preference turned on.