Date: Tue, 18 Jan 2005 14:34:57 +0600 From: Alexey Dokuchaev <danfe@nsu.ru> To: freebsd-current@freebsd.org Subject: Re: gratuitous gcc warnings: unused function arguments? Message-ID: <20050118083457.GA57902@regency.nsu.ru> In-Reply-To: <20050116144113.GB66854@gothmog.gr> References: <Pine.NEB.3.96L.1050116120744.50371A-100000@fledge.watson.org> <20050116144113.GB66854@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 16, 2005 at 04:41:13PM +0200, Giorgos Keramidas wrote: > > This allows the main() function to keep being compliant with the ANSI > standard that specifies only two valid prototypes for main(): > > int main(void); > int main(int argc, char *argv[]); Hmm, I might sound wrong, but I also recall seeing ``int main(int argc, char *argv[], char *envp[]);'' as valid main() prototype as well. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050118083457.GA57902>