This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Remove _G_HAVE_IO_GETLINE_INFO
- From: Marek Polacek <polacek at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 17 Sep 2012 09:05:30 +0200
- Subject: Re: Remove _G_HAVE_IO_GETLINE_INFO
- References: <Pine.LNX.4.64.1209161932030.9347@digraph.polyomino.org.uk>
On Sun, Sep 16, 2012 at 07:33:50PM +0000, Joseph S. Myers wrote:
> The macro _G_HAVE_IO_GETLINE_INFO, defined in _G_config.h, is used
> only in two places in libio as part of a conditional "#if defined
> _LIBC || !_G_HAVE_IO_GETLINE_INFO". Since this code is only used in
> libc, _LIBC is always defined here and the conditional is redundant
> and _G_HAVE_IO_GETLINE_INFO is effectively unused. This patch removes
> the macro and the conditionals that used it.
Looks ok.
Marek