aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-09-11 20:32:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-09-11 20:32:13 +0000
commit8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad (patch)
tree00502ad05d0861831c56b3fe462967503c3e45e0
parentb1dc5912f8ddee6c15d7ff13a2fe3c8b265912aa (diff)
downloadglibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.zip
glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.tar.gz
glibc-8bbfd2f14afcd52b4dc1e5d6d4596f09b0cce0ad.tar.bz2
Remove unused typedefs and macros from _G_config.h.
-rw-r--r--ChangeLog27
-rw-r--r--sysdeps/generic/_G_config.h10
-rw-r--r--sysdeps/gnu/_G_config.h10
-rw-r--r--sysdeps/mach/hurd/_G_config.h10
4 files changed, 27 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index a14bf8e..b0b0af9 100644
--- 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.
diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h
index 769b10f..71f67f0 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 a0dc659..dd6e649 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 ae10071..965cc71 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