Date: Thu, 03 Oct 1996 14:42:49 +0800 From: Peter Wemm <peter@spinner.DIALix.COM> To: sos@FreeBSD.org Cc: jkh@freefall.freebsd.org (Jordan K. Hubbard), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c Message-ID: <199610030642.OAA03239@spinner.DIALix.COM> In-Reply-To: Your message of "Thu, 03 Oct 1996 08:26:48 %2B0200." <199610030626.IAA07626@ra.dkuug.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
sos@FreeBSD.org wrote: > In reply to Jordan K. Hubbard who wrote: > > [Boy, sure a lot of warnings in here!] > > Yep, but they are all of the type (but two) that says you > have a function with X parameters, but you use only X-n > I'm not really sure what to do with them, they are bogus > IMHO. Then there are two warning say that the sizeof > operator is unsigned... In theory, it can be written: void func(x, y) int x __unused; char *y __unused; { return (1); } or (in ANSI-style) void func(int x __unused, char *y __unused) { return (1); } That should be enough to shut up gcc. Althought what to do about the SYSCTL macro for declaring functions where you don't get the chance to do this, I'm not sure about. Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610030642.OAA03239>