On Tue, Feb 02, 2010 at 03:11:26PM +0200, Yevgeny Kliteynik wrote:
> >If no inline version is defined then the compiler just emits a normal
> >function call, if an inline version is defined then the compiler might
> >use it.
> 
> Thanks for the idea.
> I read some documentation about it, and it does look that
> your suggestion should fix the problem, but it didn't :(

> Probably because they both are in .h files.

No, but they do have to be in the right order.

first header:

extern inline int foo();
inline int foo()
{
    body
}

2nd header:
extern inline int foo();

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to