Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 1996 16:21:27 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        Poul-Henning Kamp <phk@critter.tfs.com>
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 
Message-ID:  <199610030821.QAA04002@spinner.DIALix.COM>
In-Reply-To: Your message of "Thu, 03 Oct 1996 10:11:54 %2B0200." <5306.844330314@critter.tfs.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610030821.QAA04002>