aboutsummaryrefslogtreecommitdiff
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.zip
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.gz
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.bz2
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 f852b85..0dd06a5 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 214f7af..ea9a30c 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;