ANSI C prototypes
Richard Caley
rjc at uk.ac.ed.cstr
Sun Nov 4 02:31:29 AEST 1990
In article <1990Nov2.030556.27759 at ccu.umanitoba.ca> salomon at ccu.umanitoba.ca (Dan Salomon) writes:
In article <RJC.90Nov1145211 at brodie.uk.ac.ed.cstr> rjc at 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 at uk.ac.ed.cstr
More information about the Comp.lang.c
mailing list