Re: On __pure and __attribute_pure__

From: Robert P. J. Day
Date: Tue May 15 2007 - 05:23:39 EST


On Tue, 15 May 2007, Heikki Orsila wrote:

> Both __pure and __attribute_pure__ are the same, and I found out that
> there is only a handful of users for these. __attribute_pure__ is
> used in approximately 15 places, and __pure is not used anywhere.
>
> Is either __pure or __attribute_pure__ preferred? Imo, __pure looks
> much nicer than __attribute_pure__ so we could do a replacement.

that was pretty much the point of my earlier post -- given the
precedent for all of the other short forms, there seems to be no
reason not to simply use "__pure" and delete the longer definition.

i'll post a patch for that shortly.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/