Re: [parisc-linux] [2.6 patch] parisc: "extern inline" -> "static inline"

From: Matthew Wilcox
Date: Wed Nov 02 2005 - 08:53:49 EST


On Wed, Nov 02, 2005 at 02:48:42PM +0100, Jan Engelhardt wrote:
>
> >> "extern inline" doesn't make much sense.
>
> But GNU's ld is said to be smart enough to handle this like the
> developerwants "extern AND inline". I did not try, though.

I think you're gravely confused. Look at the assembly that gcc spits
out for extern inline functions. The linker never even gets to see the
function. Try it out, it'll be good practice for you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/