From: Daniel Jacobowitz <dan@debian.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] deprecated function attribute
Date: Sat, 28 Dec 2002 13:53:55 -0500 [thread overview]
Message-ID: <20021228185355.GA22304@nevyn.them.org> (raw)
In-Reply-To: <1041098631.1066.13.camel@icbm>
On Sat, Dec 28, 2002 at 01:03:52PM -0500, Robert Love wrote:
> On Sat, 2002-12-28 at 12:51, Robert Love wrote:
>
> > +#if __GNUC__ == 3
> > +#define deprecated __attribute__((deprecated))
> > +#else
> > +#define deprecated
> > +#endif
>
> Before someone points it out: I grepped the tree and did not see any
> uses of "deprecated" as a token on first glance. So the above is safe.
>
> If we want to be preemptive, we can rename the above to "__deprecated__"
> but I think plain "deprecated" is much better looking.
Eek, please call it something else - something that looks visibly like
a syntax rather than a name. __deprecated or __deprecated__ or
DEPRECATED.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-12-28 18:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-28 0:57 [PATCH] Mark deprecated functions so they give a warning on use Rusty Russell
2002-12-28 5:54 ` Richard Henderson
2002-12-28 15:30 ` Alexander Kellett
2002-12-28 17:51 ` [PATCH] deprecated function attribute Robert Love
2002-12-28 18:03 ` Robert Love
2002-12-28 18:53 ` Daniel Jacobowitz [this message]
2002-12-28 20:50 ` Robert Love
-- strict thread matches above, loose matches on Subject: below --
2002-12-28 23:32 william stinson
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=20021228185355.GA22304@nevyn.them.org \
--to=dan@debian.org \
--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.