lkml.org 
[lkml]   [2002]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectstatic inline vs. extern inline; inline vs. __inline__
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.041 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site