Remove unused typedefs and macros from _G_config.h.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 11 Sep 2012 20:32:13 +0000 (20:32 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 11 Sep 2012 20:32:13 +0000 (20:32 +0000)
ChangeLog
sysdeps/generic/_G_config.h
sysdeps/gnu/_G_config.h
sysdeps/mach/hurd/_G_config.h

index a14bf8e..b0b0af9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 769b10f..71f67f0 100644 (file)
@@ -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
index a0dc659..dd6e649 100644 (file)
@@ -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
index ae10071..965cc71 100644 (file)
@@ -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