Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Dec 2002 12:54:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Dec 2002 12:54:11 -0500 Received: from ns.netrox.net ([64.118.231.130]:46287 "EHLO smtp01.netrox.net") by vger.kernel.org with ESMTP id ; Sat, 28 Dec 2002 12:54:10 -0500 Subject: Re: [PATCH] deprecated function attribute From: Robert Love To: Alexander Kellett Cc: Rusty Russell , torvalds@transmeta.com, linux-kernel@vger.kernel.org, william stinson , trivial@rustcorp.com.au In-Reply-To: <1041097877.1066.9.camel@icbm> References: <20021228035319.903502C04B@lists.samba.org> <20021228153009.GA29614@groucho.verza.com> <1041097877.1066.9.camel@icbm> Content-Type: text/plain Organization: Message-Id: <1041098631.1066.13.camel@icbm> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 28 Dec 2002 13:03:52 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 691 Lines: 21 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. Robert Love - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/