From owner-cvs-sys Thu Oct 3 01:32:10 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA13947 for cvs-sys-outgoing; Thu, 3 Oct 1996 01:32:10 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA13872; Thu, 3 Oct 1996 01:31:31 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id SAA07209; Thu, 3 Oct 1996 18:27:32 +1000 Date: Thu, 3 Oct 1996 18:27:32 +1000 From: Bruce Evans Message-Id: <199610030827.SAA07209@godzilla.zeta.org.au> To: jkh@time.cdrom.com, peter@spinner.dialix.com Subject: Re: cvs commit: src/sys/i386/isa syscons.c Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, jkh@freefall.freebsd.org, sos@FreeBSD.org Sender: owner-cvs-sys@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >Hmmm. I don't remember __unused from my last reading of the ANSI >spec, and if this is a gcc-ism then using it anywhere will cause Bruce >to squawk at you about making it harder to use a non-gcc compiler in >general principle. :-) It's not harder provided our is included. __unused is a macro. It is harder if you don't control the system headers. Have a look at the lbl stuff in contrib. Each module now carries its own definitions of __dead and __attribute in case the system doesn't define them. __dead still works for it here although I removed __dead from my . Bruce