Date: Sun, 7 Sep 1997 11:54:17 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: j_mini@efn.org (Jonathan Mini) Subject: Re: 'warning: function declaration isn't a prototype' Message-ID: <19970907115417.VA15613@uriah.heep.sax.de> In-Reply-To: <19970907020657.59233@micron.efn.org>; from Jonathan Mini on Sep 7, 1997 02:06:57 -0700 References: <19970907020657.59233@micron.efn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jonathan Mini wrote: > I am getting warnings along the lines of 'function declaration isn't a > prototype' every time I declare a function that is void func(); (static or > public) > Does anybody know what this warning is trying to tell me? That you should use prototypes. extern void func(void); See also style(9). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970907115417.VA15613>