This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 08/13] Installed-header hygiene (BZ#20366): time.h types.
On Mon, 29 Aug 2016, Zack Weinberg wrote:
> Rather than make the logic in time.h even messier, I had been kicking
> around in my head the idea of replacing the __need/__defined mechanism
> with a set of small headers, bits/types/foo_t.h for every foo_t that
> more than one header may need to define. This seemed like a good
> place to give it a try. I rather like the effect; time.h and
> bits/time.h are now *much* simpler, and a lot of other headers are
> slightly simpler.
Without having reviewed the details of this patch, I support the principle
of replacing __need_* like this, having advocated it in
<https://sourceware.org/ml/libc-alpha/2012-08/msg00510.html>.
--
Joseph S. Myers
joseph@codesourcery.com