This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Remove _G_ARGS macros
- From: Marek Polacek <polacek at redhat dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 07 Feb 2012 21:57:38 +0100
- Subject: [PATCH] Remove _G_ARGS macros
This removes unused _G_ARGS macro from _G_config headers. Compiles
fine on x86_64-redhat-linux.
Ok for trunk?
2012-02-07 Marek Polacek <polacek@redhat.com>
* sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
* sysdeps/gnu/_G_config.h: Likewise.
* sysdeps/mach/hurd/_G_config.h: Likewise.
--- libc/sysdeps/mach/hurd/_G_config.h.mp 2012-02-07 21:41:22.555972980 +0100
+++ libc/sysdeps/mach/hurd/_G_config.h 2012-02-07 21:42:54.900076855 +0100
@@ -90,7 +90,4 @@ typedef unsigned int _G_uint32_t __attri
#define _G_VTABLE_LABEL_PREFIX "__vt_"
#define _G_VTABLE_LABEL_PREFIX_ID __vt_
-
-#define _G_ARGS(ARGLIST) ARGLIST
-
#endif /* _G_config.h */
--- libc/sysdeps/gnu/_G_config.h.mp 2012-02-07 21:41:22.557972982 +0100
+++ libc/sysdeps/gnu/_G_config.h 2012-02-07 21:45:58.040282862 +0100
@@ -91,7 +91,4 @@ typedef unsigned int _G_uint32_t __attri
#define _G_VTABLE_LABEL_PREFIX "__vt_"
#define _G_VTABLE_LABEL_PREFIX_ID __vt_
-
-#define _G_ARGS(ARGLIST) ARGLIST
-
#endif /* _G_config.h */
--- libc/sysdeps/generic/_G_config.h.mp 2012-02-07 21:41:22.558972983 +0100
+++ libc/sysdeps/generic/_G_config.h 2012-02-07 21:46:09.596295861 +0100
@@ -83,7 +83,4 @@ typedef unsigned int _G_uint32_t __attri
#define _G_VTABLE_LABEL_PREFIX "_vt."
#define _G_VTABLE_LABEL_HAS_LENGTH 1
-
-#define _G_ARGS(ARGLIST) ARGLIST
-
#endif /* _G_config.h */
Marek