Subject: Re: Proposal: eliminate all macros in the kernel
To: Roland Illig <rillig@NetBSD.org>
From: Tonnerre LOMBARD <tonnerre@thundrix.ch>
List: tech-kern
Date: 11/20/2005 19:48:52
--DO5DiztRLs659m5i
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Salut,

On Sun, Nov 20, 2005 at 07:45:30PM +0100, Roland Illig wrote:
> 1. Feature-test macros: HAVE_FOO_H
>=20
> 2. Object-like macros: errno, _IONBF, stdout
>=20
> 3. Function-like macros: isalpha(), offsetof()
>=20
> 4. Syntactic sugar: CIRCLEQ_FOREACH
>=20
> 5. The rest, which are probably few, but very ugly.

6. Declaration macros (static LIST_HEAD(x);)

7. Attribute compatibility macros (_UNUSED)

				Tonnerre

--DO5DiztRLs659m5i
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDgMUUXUVlAbfmNMIRAtmmAJ0cLetSbDTBMVnxdUecrcQxT8Rb4QCfbipJ
1vzonQmFHHsglZUEkQA6+rE=
=WPbd
-----END PGP SIGNATURE-----

--DO5DiztRLs659m5i--