Strange lint mumblings

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Dec 15 10:28:40 AEST 1988


In article <11467 at dartvax.Dartmouth.EDU> earleh at eleazar.dartmouth.edu (Earle R. Horton) writes:
>     How about:
>	return(exit(0));

Nope; that's a cure worse than the disease.  exit() should be
properly declared as having void result type (otherwise, "lint"
should complain about THAT), and you cannot return a void expression.



More information about the Comp.lang.c mailing list