Date: Thu, 3 Oct 1996 18:27:32 +1000 From: Bruce Evans <bde@zeta.org.au> To: jkh@time.cdrom.com, peter@spinner.dialix.com Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, jkh@freefall.freebsd.org, sos@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa syscons.c Message-ID: <199610030827.SAA07209@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>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 <sys/cdefs.h> 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 <sys/cdefs.h>. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610030827.SAA07209>