[lkml]   [2005]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux-2.6.13-rc7
Richard Henderson wrote:
> Because I use "extern inline" in the proper way. That is, I have both
> inline and out-of-line versions of some routines.

Is there any reason not to just make the out-of-line version explicit?

/* in some .h file: */
static /*(always!)*/inline int my_func(void)
return FOO;
extern int OOL_my_func(void);

/* in some .c file: */
int OOL_my_func(void)
return my_func();

It's a little ugly but there really aren't that many cases of this, right?
Or is this just the principal of the thing? :-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-27 05:54    [W:0.031 / U:14.108 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site