lkml.org 
[lkml]   [1997]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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 /_____________/ / // /_/ ><
\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans