Question about LINT
Stephen J. Williams
steve at gondor.UUCP
Sun Apr 13 10:25:10 AEST 1986
In article <5000041 at inmet> az at inmet.UUCP writes:
>
> If one has a function which is sometimes called as a procedure
>(ignoring returned value) is there a way to tell lint not to
>complain about this?
> Thanks in advance.
> Alex Zatsman.
caste it as void...
(void) function (parms... )
You can even declare funcions as viod. This is how you get "procedures"
in C, which only has functions. Nicht war?
--Scal
More information about the Comp.lang.c
mailing list