lkml.org 
[lkml]   [2010]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectis there some kind of standard for "inline" these days?

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
========================================================================


\
 
 \ /
  Last update: 2010-10-31 18:49    [W:0.049 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site