mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Remove some unnecessary redefinitions of std symbols.
Two files in stdio-common were unnecessarily redefining some standard symbols as their _IO_ aliases. * stdio-common/vfprintf.c: Don't redefine FILE, va_list, or BUFSIZ. * stdio-common/tstgetln.c: Don't redefine ssize_t.
This commit is contained in:
parent
c2b84df9b0
commit
de6da571ee
@ -1,3 +1,8 @@
|
||||
2018-02-06 Zack Weinberg <zackw@panix.com>
|
||||
|
||||
* stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
|
||||
* stdio-common/tstgetln.c: Don't redefine ssize_t.
|
||||
|
||||
2018-02-06 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
|
||||
|
@ -16,8 +16,6 @@
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <stdio.h>
|
||||
#undef ssize_t
|
||||
#define ssize_t _IO_ssize_t
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
|
@ -39,13 +39,8 @@
|
||||
Beside this it is also shared between the normal and wide character
|
||||
implementation as defined in ISO/IEC 9899:1990/Amendment 1:1995. */
|
||||
|
||||
|
||||
#include <libioP.h>
|
||||
#define FILE _IO_FILE
|
||||
#undef va_list
|
||||
#define va_list _IO_va_list
|
||||
#undef BUFSIZ
|
||||
#define BUFSIZ _IO_BUFSIZ
|
||||
|
||||
/* In some cases we need extra space for all the output which is not
|
||||
counted in the width of the string. We assume 32 characters is
|
||||
enough. */
|
||||
|
Loading…
Reference in New Issue
Block a user