From owner-cvs-sys Wed Oct 2 23:43:13 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA05661 for cvs-sys-outgoing; Wed, 2 Oct 1996 23:43:13 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA05644; Wed, 2 Oct 1996 23:43:03 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id OAA03239; Thu, 3 Oct 1996 14:42:50 +0800 (WST) Message-Id: <199610030642.OAA03239@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 In-reply-to: Your message of "Thu, 03 Oct 1996 08:26:48 +0200." <199610030626.IAA07626@ra.dkuug.dk> Date: Thu, 03 Oct 1996 14:42:49 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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