aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog5
-rw-r--r--support/cdefs.h4
-rw-r--r--support/xalloc.h6
3 files changed, 10 insertions, 5 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 8bc944b1..a941f28c 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-09 John E. Malmberg <wb8tyw@qsl.net>
+
+ * cdefs.h, xalloc.h: For non GCC, have
+ __attribute__ definition match regex_internal.h exactly.
+
2018-12-26 Arnold D. Robbins <arnold@skeeve.com>
In a spirit of depressed resignation, synced regex
diff --git a/support/cdefs.h b/support/cdefs.h
index 26e2f3fe..b616e195 100644
--- a/support/cdefs.h
+++ b/support/cdefs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2018 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -198,7 +198,7 @@
`__attribute__' syntax. All of the ways we use this do fine if
they are omitted for compilers that don't understand it. */
#if !defined __GNUC__ || __GNUC__ < 2
-# define __attribute__(xyz) /* Ignore */
+# define __attribute__(arg) /* Ignore */
#endif
/* At some point during the gcc 2.96 development the `malloc' attribute
diff --git a/support/xalloc.h b/support/xalloc.h
index 89dbe2c1..f238bb79 100644
--- a/support/xalloc.h
+++ b/support/xalloc.h
@@ -1,8 +1,8 @@
/* xalloc.h -- malloc with out-of-memory checking
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
- Inc.
+ 2000, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2019
+ Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ extern "C" {
# ifndef __attribute__
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
-# define __attribute__(x)
+# define __attribute__(arg)
# endif
# endif