Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Strange lint mumblings Message-ID: <9184@smoke.BRL.MIL> Date: 15 Dec 88 00:28:40 GMT References: <416@marob.MASA.COM> <11467@dartvax.Dartmouth.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <11467@dartvax.Dartmouth.EDU> earleh@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.