Remove _G_HAVE_IO_GETLINE_INFO

Marek Polacek polacek@redhat.com
Mon Sep 17 07:05:00 GMT 2012


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



More information about the Libc-alpha mailing list