about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-16 19:52:22 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-16 19:52:22 +0000
commit93226feb21300d173d293a25f10e83d7426c9f6f (patch)
tree16151881799ab2b33288b964a07e0674157f5c00
parent457beec8d7835d2f021d8c4ef7a51f22932671f8 (diff)
downloadglibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.gz
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.xz
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.zip
Update.
2003-12-16  Petter Reinholdtsen  <pere@hungry.com>

	* posix/regex_internal.h: Make sure the regex code compile
	with non-GCC compilers by hiding attributes.
-rw-r--r--ChangeLog5
-rw-r--r--posix/regex_internal.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f852b850a2..0dd06a5198 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-16  Petter Reinholdtsen  <pere@hungry.com>
+
+	* posix/regex_internal.h: Make sure the regex code compile
+	with non-GCC compilers by hiding attributes.
+
 2002-12-16  Jakub Jelinek  <jakub@redhat.com>
             Paolo Bonzini  <bonzini@gnu.org>
 
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 214f7af6c0..ea9a30c16e 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -107,9 +107,9 @@
 #endif /* not _LIBC */
 
 #ifdef __GNUC__
-# define __attribute __attribute__
+# define __attribute(arg) __attribute__ (arg)
 #else
-# define __attribute
+# define __attribute(arg)
 #endif
 
 extern const char __re_error_msgid[] attribute_hidden;