Re: linux-2.2.1-ac3 and egcs-19990131

Mike Stump (mrs@wrs.com)
Wed, 3 Feb 1999 11:59:45 -0800


> Date: Wed, 3 Feb 1999 10:08:18 +0100
> From: "Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de>
> To: mrs@wrs.com

> > Gee, and I thought only C++ provided extern inline:

> It seems that ISO C 99 has extern inline functions. 6.7.4/2 says

Oh, they took it from us, great! So GNU C is buggy and should be fixed.

> I don't understand this entirely. It seems that there must be exactly
> one definition of such a function in a single translation unit, which
> is then used by other translation units.

No! The others are static, hence no linkage. The point is, you can
define it in all translation units as external, and the compiler has
to deal with it (linkonce for example).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/