Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.lang.c Subject: Re: strange behaviour of lint? Message-ID: <2550087@hpisod2.HP.COM> Date: 9 May 89 09:54:03 GMT References: <1325@rivm05.UUCP> Organization: Hewlett Packard, Cupertino Lines: 21 Since you have not provided an external declaration for the function exit(), lint assumes that in your program, the following declaration is implied: extern int exit(); When lint checks the lint library for libc, however, it sees that there it is declared to return void. You can get lint to stop this message by adding: extern void exit(); before you first use exit(). The function perror() has a similar problem. NOTE: For ANSI C compilation systems, ignore all of the previous, and use #include instead.