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