aboutsummaryrefslogtreecommitdiff
path: root/posix/regex_internal.h
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/regex_internal.h
parent457beec8d7835d2f021d8c4ef7a51f22932671f8 (diff)
downloadglibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.gz
glibc-93226feb21300d173d293a25f10e83d7426c9f6f.tar.bz2
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.
Diffstat (limited to 'posix/regex_internal.h')
-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 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;