diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-09-11 20:32:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-09-11 20:32:13 +0000 |
commit | 8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad (patch) | |
tree | 00502ad05d0861831c56b3fe462967503c3e45e0 | |
parent | b1dc5912f8ddee6c15d7ff13a2fe3c8b265912aa (diff) | |
download | glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.tar glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.tar.gz glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.tar.bz2 glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.zip |
Remove unused typedefs and macros from _G_config.h.
-rw-r--r-- | ChangeLog | 27 | ||||
-rw-r--r-- | sysdeps/generic/_G_config.h | 10 | ||||
-rw-r--r-- | sysdeps/gnu/_G_config.h | 10 | ||||
-rw-r--r-- | sysdeps/mach/hurd/_G_config.h | 10 |
4 files changed, 27 insertions, 30 deletions
@@ -1,3 +1,30 @@ +2012-09-11 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/generic/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + * sysdeps/gnu/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove. + (_G_int32_t): Likewise. + (_G_uint16_t): Likewise. + (_G_uint32_t): Likewise. + (_G_HAVE_BOOL): Likewise. + (_G_HAVE_ATEXIT): Likewise. + (_G_HAVE_LONG_DOUBLE_IO): Likewise. + (_G_HAVE_IO_FILE_OPEN): Likewise. + 2012-09-11 H.J. Lu <hongjiu.lu@intel.com> * csu/libc-tls.c: Update copyright years. diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h index 769b10f6df..71f67f02dc 100644 --- a/sysdeps/generic/_G_config.h +++ b/sysdeps/generic/_G_config.h @@ -50,24 +50,14 @@ typedef union } _G_iconv_t; #endif -typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); -typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); -typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); -typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); - -#define _G_HAVE_BOOL 1 - /* These library features are always available in the GNU C library. */ -#define _G_HAVE_ATEXIT 1 #define _G_HAVE_SYS_WAIT 1 #define _G_NEED_STDARG_H 1 #define _G_va_list __gnuc_va_list #define _G_HAVE_PRINTF_FP 1 #define _G_HAVE_MMAP 1 -#define _G_HAVE_LONG_DOUBLE_IO 1 -#define _G_HAVE_IO_FILE_OPEN 1 #define _G_HAVE_IO_GETLINE_INFO 1 #define _G_IO_IO_FILE_VERSION 0x20001 diff --git a/sysdeps/gnu/_G_config.h b/sysdeps/gnu/_G_config.h index a0dc6592c0..dd6e649cfa 100644 --- a/sysdeps/gnu/_G_config.h +++ b/sysdeps/gnu/_G_config.h @@ -50,16 +50,8 @@ typedef union } _G_iconv_t; #endif -typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); -typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); -typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); -typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); - -#define _G_HAVE_BOOL 1 - /* These library features are always available in the GNU C library. */ -#define _G_HAVE_ATEXIT 1 #define _G_HAVE_SYS_WAIT 1 #define _G_NEED_STDARG_H 1 #define _G_va_list __gnuc_va_list @@ -67,8 +59,6 @@ typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); #define _G_HAVE_PRINTF_FP 1 #define _G_HAVE_MMAP 1 #define _G_HAVE_MREMAP 1 -#define _G_HAVE_LONG_DOUBLE_IO 1 -#define _G_HAVE_IO_FILE_OPEN 1 #define _G_HAVE_IO_GETLINE_INFO 1 #define _G_IO_IO_FILE_VERSION 0x20001 diff --git a/sysdeps/mach/hurd/_G_config.h b/sysdeps/mach/hurd/_G_config.h index ae10071304..965cc711a8 100644 --- a/sysdeps/mach/hurd/_G_config.h +++ b/sysdeps/mach/hurd/_G_config.h @@ -50,24 +50,14 @@ typedef union } _G_iconv_t; #endif -typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); -typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); -typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); -typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); - -#define _G_HAVE_BOOL 1 - /* These library features are always available in the GNU C library. */ -#define _G_HAVE_ATEXIT 1 #define _G_HAVE_SYS_WAIT 1 #define _G_NEED_STDARG_H 1 #define _G_va_list __gnuc_va_list #define _G_HAVE_PRINTF_FP 1 #define _G_HAVE_MMAP 1 -#define _G_HAVE_LONG_DOUBLE_IO 1 -#define _G_HAVE_IO_FILE_OPEN 1 #define _G_HAVE_IO_GETLINE_INFO 1 #define _G_IO_IO_FILE_VERSION 0x20001 |