Re: linux-2.2.1-ac3 and egcs-19990131

Mike Stump (mrs@wrs.com)
Tue, 2 Feb 1999 19:24:18 -0800


> To: egcs-bugs@cygnus.com, linux-kernel@vger.rutgers.edu
> Date: Tue, 02 Feb 1999 23:38:13 -0400
> From: Horst von Brand <vonbrand@sleipnir.valparaiso.cl>

> extern __inline__ unsigned char *skb_put(struct sk_buff *skb, unsigned int len)
> {

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

extern inline foo() {
return 1;
}

void *vp = &foo;

.global vp
vp:
.uaword foo__Fv
.section ".gnu.linkonce.t.foo__Fv",#alloc,#execinstr
.weak foo__Fv
foo__Fv:
retl
mov 1, %o0

:-) In C:

.global vp
vp:
.uaword foo

and that's it, sorry. Please use C++, or get the C folks to support
extern inline, it is quite easy and trivial (right Jason? :-)).

-
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/