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

From: Stefan Richter
Date: Sun Oct 31 2010 - 14:13:23 EST


Stefan Richter wrote:
> Robert P. J. Day wrote:
>> 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,
>
> "grep inline include/linux/kernel.h" looks like a good guidance.
>
> See also the C99 standard and maybe
> http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html .

PS: drivers/staging/ is probably the only place that is worth a
normalization. There is always bugzilla.kernel.org for those with time to spare.
--
Stefan Richter
-=====-==-=- =-=- =====
http://arcgraph.de/sr/
--
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/