From owner-cvs-sys Thu Oct 3 01:22:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA12572 for cvs-sys-outgoing; Thu, 3 Oct 1996 01:22:26 -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 BAA12550; Thu, 3 Oct 1996 01:22:14 -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 QAA04002; Thu, 3 Oct 1996 16:21:27 +0800 (WST) Message-Id: <199610030821.QAA04002@spinner.DIALix.COM> To: Poul-Henning Kamp cc: sos@FreeBSD.org, jkh@freefall.freebsd.org, 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 10:11:54 +0200." <5306.844330314@critter.tfs.com> Date: Thu, 03 Oct 1996 16:21:27 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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... Cheers, -Peter