Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!utah-cs!utah-gr!spline!thomas From: thomas%spline.uucp@utah-gr.UUCP (Spencer W. Thomas) Newsgroups: comp.lang.c Subject: Re: Function prototypes (was: miscellaneous unrelated stuff) Message-ID: <2024@utah-gr.UUCP> Date: Wed, 13-May-87 14:13:31 EDT Article-I.D.: utah-gr.2024 Posted: Wed May 13 14:13:31 1987 Date-Received: Sat, 16-May-87 04:20:00 EDT References: <18346@ucbvax.BERKELEY.EDU> <7973@utzoo.UUCP> <796@rtech.UUCP> <8016@utzoo.UUCP> Sender: news@utah-gr.UUCP Reply-To: thomas%spline.UUCP@utah-gr.UUCP (Spencer W. Thomas) Organization: Univ of Utah CS Dept Lines: 9 Henry Spencer claims that use of function prototypes is dangerous because of what may happen if a function prototype is missing in one environment, but present in another. Lightspeed C for the Macintosh has an option that causes it to require function prototypes for all external functions. Seems to me that use of this option would prevent the type of disaster envisioned by Henry. =Spencer ({ihnp4,decvax}!utah-cs!thomas, thomas@cs.utah.edu)