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?
i.e.:

        /* 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? :-)

-Mitch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to