Subject: Re: inline
To: Todd Whitesel <toddpw@best.com>
From: Chris G. Demetriou <cgd@sibyte.com>
List: tech-kern
Date: 08/10/2000 08:31:47
toddpw@best.com (Todd Whitesel) writes:
> Most other source bases I've seen deal with this by using INLINE and
> then putting an appropriate #define or -DINLINE= in all the right places.
for the kernel, of course, which is by nature a freestanding
implementation all to itself, it can and probably should use
implementation-namespace things to do it, though.
using __inline or __inline__ in actual userland programs (not kernel
or libc headers, but programs) should be avoided, as far as i'm
concerned, for portability reasons.