Subject: Re: rfc: socketing it to gre
To: None <tech-net@NetBSD.org>
From: Darren Reed <darrenr@netbsd.org>
List: tech-net
Date: 09/14/2007 22:21:12
David Young wrote:
> On Wed, Sep 12, 2007 at 11:24:09PM -0700, Darren Reed wrote:
> > David,
> >
> > Please don't put inline functions in header files, especially using
> > names that are all in capital letters and thus look like macros.
>
> I don't see any harm in putting inline functions into header files,
> especially not when they will be shared by many C files. I don't know
> where else to put inline subroutines that C files will share; maybe you
> can suggest some place. Lowering the case of macros turned to inlines
> is a lot of pain for very little gain.
>
...why are they better served by being an inline function than a macro?
Darren