public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: torvalds@transmeta.com
Cc: James Bottomley <James.Bottomley@steeleye.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] __deprecated requires gcc 3.1
Date: 31 Dec 2002 18:44:03 -0500	[thread overview]
Message-ID: <1041378241.948.14.camel@icbm> (raw)
In-Reply-To: <200212312313.gBVNDdM04070@localhost.localdomain>

On Tue, 2002-12-31 at 18:13, James Bottomley wrote:

> Oops, mea culpa on that one.  It's missing a trailing `__' on the end of 
> __GNUC_MINOR

Looks like Linus already committed it.

Attached patch is against the updated BK and fixes the omission.  Sorry.

	Robert Love

 include/linux/compiler.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -urN linux-2.5.53/include/linux/compiler.h linux/include/linux/compiler.h
--- linux-2.5.53/include/linux/compiler.h	2002-12-31 18:39:55.000000000 -0500
+++ linux/include/linux/compiler.h	2002-12-31 18:40:10.000000000 -0500
@@ -19,7 +19,7 @@
  * Usage is:
  * 		int __deprecated foo(void)
  */
-#if ( __GNUC__ == 3 && __GNUC_MINOR > 0 ) || __GNUC__ > 3
+#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
 #define __deprecated	__attribute__((deprecated))
 #else
 #define __deprecated




      reply	other threads:[~2002-12-31 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-31 22:32 [PATCH] __deprecated requires gcc 3.1 Robert Love
2002-12-31 23:13 ` James Bottomley
2002-12-31 23:44   ` Robert Love [this message]

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=1041378241.948.14.camel@icbm \
    --to=rml@tech9.net \
    --cc=James.Bottomley@steeleye.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox