Messages in this thread |  | | | Date | Sun, 11 May 1997 12:17:08 -0400 | | From | "David S. Miller" <> | | Subject | Re: sockfd_lookup |
| |
From: Eric.Schenk@dna.lth.se Date: Sun, 11 May 1997 00:03:24 +0200
The "extern __inline__" form gets used when you want to have a bit of inlined code that never appears as a callable routing itself. You just need to make sure you have optimization turned on or it won't work.
You can "get around" this by using "static __inline__". In this case if GCC has inlined it everywhere, it will not output the function. But in the cases where it cannot (or will not, when optimization is not turned on) You get a copy in every file which calls that function.
---------------------------------------------//// Yow! 11.26 MB/s remote host TCP bandwidth & //// 199 usec remote TCP latency over 100Mb/s //// ethernet. Beat that! //// -----------------------------------------////__________ o David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><
|  |