static inline vs. extern inline; inline vs. __inline__

From: X.Xiao (joyhaa@yahoo.com)
Date: Tue Jun 18 2002 - 09:21:33 EST


After seeing various 'static inline', 'extern inline',
'inline' and '__inline__' in the kernel source, and
reading GCC's Inline subsection, it's still hard to
use them in a clear way:
1. what's the key difference between 'static' and
'extern' for inline? is there a rule to pick which one
during development(such as library or driver coding)
2. what's the difference between 'inline' and
'__inline__'?

I wish the answer were in FAQ but it's not.

Thanks a lot!
X.Xiao

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-
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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:16 EST