Messages in this thread | | | Date | Mon, 24 Feb 2003 23:58:29 -0800 | From | Richard Henderson <> | Subject | Re: [PATCH] eliminate warnings in generated module files |
| |
On Tue, Feb 25, 2003 at 03:32:21PM +1100, Rusty Russell wrote: > In message <20030218184317.A20436@twiddle.net> you write: > > +#if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || __GNUC__ > 3 > > +#define __attribute_used__ __attribute__((__used__)) > > +#else > > +#define __attribute_used__ __attribute__((__unused__)) > > +#endif > > + > > After some thought, I prefer __optional.
Um, "optional" does not in any way accurately describe attribute used. In fact, it means almost exactly the opposite.
r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |