Subject: Re: Proposal: eliminate all macros in the kernel
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Tonnerre LOMBARD <tonnerre@thundrix.ch>
List: tech-kern
Date: 11/21/2005 08:00:29
--j2AXaZ4YhVcLc+PQ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Salut,

On Mon, Nov 21, 2005 at 07:07:40AM +0900, YAMAMOTO Takashi wrote:
> inline:
> 	inline int
> 	somemacro(struct x *x)
> 	{
> 		return x->x_member;
> 	}

Just for the record, I'd recommend using static inline here which makes
for less noise from the compiler.

			    Tonnerre

--j2AXaZ4YhVcLc+PQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDgXCNXUVlAbfmNMIRAq1QAKC9XR4+twm0Ipf7C0HH3pEtuR1XTACgyeax
wjCI0++B7y63QquGTiQmvVE=
=5naZ
-----END PGP SIGNATURE-----

--j2AXaZ4YhVcLc+PQ--