aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-02-09 17:09:55 +0100
committerMarek Polacek <polacek@redhat.com>2012-02-09 17:09:55 +0100
commit6b73181ac519270393b60375271821ae1ddaacb7 (patch)
tree8a3ee5aafdc043f9396aef3cddcf1802ddb5fcbd
parent6c6dbc63008e49876c1ed124764ff312138091d7 (diff)
downloadglibc-6b73181ac519270393b60375271821ae1ddaacb7.zip
glibc-6b73181ac519270393b60375271821ae1ddaacb7.tar.gz
glibc-6b73181ac519270393b60375271821ae1ddaacb7.tar.bz2
Remove _G_HAVE_SYS_CDEFS.
-rw-r--r--ChangeLog7
-rw-r--r--libio/libio.h7
-rw-r--r--sysdeps/generic/_G_config.h1
-rw-r--r--sysdeps/gnu/_G_config.h1
-rw-r--r--sysdeps/mach/hurd/_G_config.h1
5 files changed, 8 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 03e912c..b8d5fcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-02-08 Marek Polacek <polacek@redhat.com>
+
+ * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
+ * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
+ * sysdeps/gnu/_G_config.h: Likewise.
+ * sysdeps/generic/_G_config.h: Likewise.
+
2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
diff --git a/libio/libio.h b/libio/libio.h
index c37211f..c9a2fcf 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -59,12 +59,7 @@
#endif
#ifndef __P
-# if _G_HAVE_SYS_CDEFS
-# include <sys/cdefs.h>
-# else
-# define __P(p) p
-# define __PMT(p) p
-# endif
+# include <sys/cdefs.h>
#endif /*!__P*/
#define _IO_UNIFIED_JUMPTABLES 1
diff --git a/sysdeps/generic/_G_config.h b/sysdeps/generic/_G_config.h
index 0838cfb..6f75682 100644
--- a/sysdeps/generic/_G_config.h
+++ b/sysdeps/generic/_G_config.h
@@ -60,7 +60,6 @@ typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
/* These library features are always available in the GNU C library. */
#define _G_HAVE_ATEXIT 1
-#define _G_HAVE_SYS_CDEFS 1
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list
diff --git a/sysdeps/gnu/_G_config.h b/sysdeps/gnu/_G_config.h
index 07ad8ca..9d6e23b 100644
--- a/sysdeps/gnu/_G_config.h
+++ b/sysdeps/gnu/_G_config.h
@@ -60,7 +60,6 @@ typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
/* These library features are always available in the GNU C library. */
#define _G_HAVE_ATEXIT 1
-#define _G_HAVE_SYS_CDEFS 1
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list
diff --git a/sysdeps/mach/hurd/_G_config.h b/sysdeps/mach/hurd/_G_config.h
index 1d2b262..9ecd4aa 100644
--- a/sysdeps/mach/hurd/_G_config.h
+++ b/sysdeps/mach/hurd/_G_config.h
@@ -60,7 +60,6 @@ typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
/* These library features are always available in the GNU C library. */
#define _G_HAVE_ATEXIT 1
-#define _G_HAVE_SYS_CDEFS 1
#define _G_HAVE_SYS_WAIT 1
#define _G_NEED_STDARG_H 1
#define _G_va_list __gnuc_va_list