Re: static int __init foobar_init(void) {}

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Mar 13 2000 - 06:23:07 EST


On Mon, 13 Mar 2000, David Woodhouse wrote:

>
> viro@math.psu.edu said:
> > Could gcc folks comment on that? IMO counting alias as valid use is a
> > reasonable idea...
>
> Can we get away with just adding __attribute(unused) to the __init and __exit
> macros?

And that would give us...? Those symbols (aliases) are not static and
nobody complains about them.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:24 EST