Xref: utzoo comp.lang.c:33405 alt.religion.computers:1994 Path: utzoo!utgpu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!lll-winken!uunet!mcsun!ukc!edcastle!aipna!rjc From: rjc@uk.ac.ed.cstr (Richard Caley) Newsgroups: comp.lang.c,alt.religion.computers Subject: Re: ANSI C prototypes Message-ID: Date: 3 Nov 90 15:31:29 GMT References: <1005@christopher-robin.cs.bham.ac.uk> <1906@necisa.ho.necisa.oz> <1990Nov2.030556.27759@ccu.umanitoba.ca> Sender: news@aipna.ed.ac.uk Organization: Center for Speech Technology Research Lines: 20 In-reply-to: salomon@ccu.umanitoba.ca's message of 2 Nov 90 03:05:56 GMT In article <1990Nov2.030556.27759@ccu.umanitoba.ca> salomon@ccu.umanitoba.ca (Dan Salomon) writes: In article rjc@uk.ac.ed.cstr (Richard Caley) writes: > I want my errors when I compile things, not when some poor guy tries > to use it. You are both right. Repeatedly typing function prototypes is a tedious waste of time, but we really would like type errors reported at compile time. Since there is, as far as I know, no difference between the prototype and the definition except for the `;', there is no extra typing to do. Just copy the definition. Now I realise there are some brain dead editors out there and I have upon occasion written C using `cat', but I assume that anything anyone is willing to use for more than trivial coding can manage a textual copy. -- rjc@uk.ac.ed.cstr