Remove _G_HAVE_IO_GETLINE_INFO.

This commit is contained in:
Joseph Myers 2012-09-17 11:43:06 +00:00
parent 6551399088
commit b7aaa4d6d2
6 changed files with 11 additions and 11 deletions

View File

@ -1,3 +1,14 @@
2012-09-17 Joseph Myers <joseph@codesourcery.com>
* libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
unconditional.
* libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
Likewise.
* sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
* sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
* sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
Likewise.
2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14587]

View File

@ -27,8 +27,6 @@
#include "libioP.h"
#include <string.h>
#if defined _LIBC || !_G_HAVE_IO_GETLINE_INFO
_IO_size_t
_IO_getline (fp, buf, n, delim, extract_delim)
_IO_FILE *fp;
@ -117,5 +115,3 @@ _IO_getline_info (fp, buf, n, delim, extract_delim, eof)
return ptr - buf;
}
libc_hidden_def (_IO_getline_info)
#endif /* Defined _LIBC || !_G_HAVE_IO_GETLINE_INFO */

View File

@ -32,8 +32,6 @@
# define wmemcpy __wmemcpy
#endif
#if defined _LIBC || !_G_HAVE_IO_GETLINE_INFO
_IO_size_t
_IO_getwline (fp, buf, n, delim, extract_delim)
_IO_FILE *fp;
@ -122,5 +120,3 @@ _IO_getwline_info (fp, buf, n, delim, extract_delim, eof)
}
return ptr - buf;
}
#endif /* Defined _LIBC || !_G_HAVE_IO_GETLINE_INFO */

View File

@ -57,7 +57,6 @@ typedef union
#define _G_va_list __gnuc_va_list
#define _G_HAVE_MMAP 1
#define _G_HAVE_IO_GETLINE_INFO 1
#define _G_IO_IO_FILE_VERSION 0x20001

View File

@ -58,7 +58,6 @@ typedef union
#define _G_HAVE_MMAP 1
#define _G_HAVE_MREMAP 1
#define _G_HAVE_IO_GETLINE_INFO 1
#define _G_IO_IO_FILE_VERSION 0x20001

View File

@ -57,7 +57,6 @@ typedef union
#define _G_va_list __gnuc_va_list
#define _G_HAVE_MMAP 1
#define _G_HAVE_IO_GETLINE_INFO 1
#define _G_IO_IO_FILE_VERSION 0x20001