Remove _G_NEED_STDARG_H.

This commit is contained in:
Joseph Myers 2012-09-20 14:41:02 +00:00
parent 11aaf6ef2d
commit 8a26625d21
5 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,10 @@
2012-09-20 Joseph Myers <joseph@codesourcery.com>
* libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
* sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
* sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
* sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
[BZ #14579]

View File

@ -47,15 +47,13 @@
#define _IO_va_list _G_va_list
#define _IO_wint_t _G_wint_t
#ifdef _G_NEED_STDARG_H
/* This define avoids name pollution if we're using GNU stdarg.h */
# define __need___va_list
# include <stdarg.h>
# ifdef __GNUC_VA_LIST
# undef _IO_va_list
# define _IO_va_list __gnuc_va_list
# endif /* __GNUC_VA_LIST */
#endif
#define __need___va_list
#include <stdarg.h>
#ifdef __GNUC_VA_LIST
# undef _IO_va_list
# define _IO_va_list __gnuc_va_list
#endif /* __GNUC_VA_LIST */
#ifndef __P
# include <sys/cdefs.h>

View File

@ -53,7 +53,6 @@ typedef union
/* These library features are always available in the GNU C library. */
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list
#define _G_HAVE_MMAP 1

View File

@ -53,7 +53,6 @@ typedef union
/* These library features are always available in the GNU C library. */
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list
#define _G_HAVE_MMAP 1

View File

@ -53,7 +53,6 @@ typedef union
/* These library features are always available in the GNU C library. */
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list
#define _G_HAVE_MMAP 1