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

- From: Alan Cox \<hidden\>
- Date: 2004-11-27 06:23:02 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2004/11/691119
- Thread: https://ratatoskr.run/lkml/2004/11/689435/t.md

```text
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.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
```
