This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 2/2] Don't include libio.h from stdio.h.
- From: Zack Weinberg <zackw at panix dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Florian Weimer <fweimer at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>
- Date: Mon, 8 Jan 2018 07:45:54 -0500
- Subject: Re: [PATCH v2 2/2] Don't include libio.h from stdio.h.
- Authentication-results: sourceware.org; auth=none
- References: <20180102034436.11037-1-zackw@panix.com> <20180102034436.11037-2-zackw@panix.com>
On Mon, Jan 1, 2018 at 10:44 PM, Zack Weinberg <zackw@panix.com> wrote:
> The only thing stdio.h really needed libio.h for was the complete
> definition of the FILE struct. This is moved to
> bits/types/struct_FILE.h, along with just enough ancillary definitions
> for the inlines in bits/stdio.h. stdio.h itself leaves FILE as an
> opaque typedef; bits/types/struct_FILE.h will only be read when the
> inlines are active.
Ping?
zw