Re: [2.6 patch] sstfb.c: make some code static

From: Alan Cox
Date: Sat Nov 27 2004 - 01:43:24 EST


On Iau, 2004-11-25 at 15:36, Adrian Bunk wrote:
> The "ifdef crap" comes from the fact, that after making the functions
> static, gcc warns if they are unused.

__attribute__ is your friend in that situation.

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