Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline"

H. Peter Anvin
2005-09-07T00:09:12Z

Michael Matz wrote:
>
> As "extern inline" is a GNU extension I don't understand this remark.

Sort of.

C99 has the equivalent construct, but spell it differently:

inline foo(int bar) {
...
}
extern foo(int bar);

There is no "static inline" in C99 either; it's just "inline".

-hpa