From owner-cvs-sys Thu Oct 3 01:33:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA14073 for cvs-sys-outgoing; Thu, 3 Oct 1996 01:33:52 -0700 (PDT) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA14063; Thu, 3 Oct 1996 01:33:47 -0700 (PDT) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id KAA08361; Thu, 3 Oct 1996 10:33:32 +0200 Message-Id: <199610030833.KAA08361@ra.dkuug.dk> Subject: Re: cvs commit: src/sys/i386/isa syscons.c To: peter@spinner.dialix.com (Peter Wemm) Date: Thu, 3 Oct 1996 10:33:31 +0200 (MET DST) Cc: phk@critter.tfs.com, sos@FreeBSD.org, jkh@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610030821.QAA04002@spinner.DIALix.COM> from "Peter Wemm" at Oct 3, 96 04:21:27 pm From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Peter Wemm who wrote: > > Poul-Henning Kamp wrote: > > >> 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. > > > > Stick the __unused gunk in the SYSCTL_HANDLER_ARGS macro in /sys/sys/sysctl.h > > Heh, silly me. I assumed that gcc would bitch if we used a variable that > was explicitly declared unused... It seems not... So, now we stick __unused all over the place to shut up gcc, and effectively reduces the -Wunused to the same state it has in 2.6.3, REAL progress and lots of work :( -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.