aboutsummaryrefslogtreecommitdiff
path: root/posix
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 /posix
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.
Diffstat (limited to 'posix')
-rw-r--r--posix/regex_internal.h4
1 files changed, 2 insertions, 2 deletions
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;