is there some kind of standard for "inline" these days?

From: Robert P. J. Day
Date: Sun Oct 31 2010 - 13:46:15 EST



i asked about this some time ago and i'm curious -- is there a
simple standard for the use of "inline" in kernel code. as of now,
there are still uses of all of inline, __inline__ and __inline, as
well as __always_inline and, now, in "staging", we have the ugly
spectre of:

#define INLINE __inline

in a few places.

is there a simple rule for what inline definition and usage would be
in a perfect world? thanks.

rday

--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
--
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/