All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Adrian Bunk <bunk@stusta.de>
Cc: Ghozlane Toumi <gtoumi@laposte.net>,
	Antonino Daplas <adaplas@pol.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [2.6 patch] sstfb.c: make some code static
Date: Thu, 25 Nov 2004 16:50:45 +0000	[thread overview]
Message-ID: <1101401444.18354.35.camel@localhost.localdomain> (raw)
In-Reply-To: <20041125153607.GC3537@stusta.de>

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/

WARNING: multiple messages have this Message-ID (diff)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Adrian Bunk <bunk@stusta.de>
Cc: Ghozlane Toumi <gtoumi@laposte.net>,
	Antonino Daplas <adaplas@pol.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [2.6 patch] sstfb.c: make some code static
Date: Thu, 25 Nov 2004 16:50:45 +0000	[thread overview]
Message-ID: <1101401444.18354.35.camel@localhost.localdomain> (raw)
In-Reply-To: <20041125153607.GC3537@stusta.de>

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.


  reply	other threads:[~2004-11-25 17:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-21 15:36 [2.6 patch] sstfb.c: make some code static Adrian Bunk
2004-11-24 22:49 ` Alan Cox
2004-11-24 22:49   ` Alan Cox
2004-11-25 15:36   ` Adrian Bunk
2004-11-25 15:36     ` Adrian Bunk
2004-11-25 16:50     ` Alan Cox [this message]
2004-11-25 16:50       ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11 18:54 Adrian Bunk
2005-02-11 18:54 ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1101401444.18354.35.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=adaplas@pol.net \
    --cc=bunk@stusta.de \
    --cc=gtoumi@laposte.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.