Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: strange behaviour of lint? Message-ID: <10220@smoke.BRL.MIL> Date: 7 May 89 21:19:16 GMT References: <1325@rivm05.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <1325@rivm05.UUCP> ccea3@rivm.UUCP (Adri Verhoef) writes: >My question: Is lint wrong, or am I misusing "(void)"? You're not declaring the exit() function, so the default rule applies, namely it is assumed to be a function of indeterminate arguments returing int. Since that's not correct (exit() is void-valued), "lint" properly complains about the inconsistency.