summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-09 08:29:58 -0700
committerKarl Williamson <public@khwilliamson.com>2011-11-09 09:04:33 -0700
commit9d63fa07f5cff6fc12e4f94d4182560e5cfed77e (patch)
tree3a88c166919c4d3c3d714a24574df0a93db14f4c /regexec.c
parenta1dde8dee0a7efc73bdb7c985e74f1461e153f12 (diff)
downloadperl-9d63fa07f5cff6fc12e4f94d4182560e5cfed77e.tar.gz
Change __attribute_unused__ to PERL_UNUSED_DECL
The latter is the Perl standard way of making this declaration
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index f0ecf292a0..f464df5bd7 100644
--- a/regexec.c
+++ b/regexec.c
@@ -138,7 +138,7 @@
/* Doesn't do an assert to verify that is correct */
#define LOAD_UTF8_CHARCLASS_NO_CHECK(class) STMT_START { \
if (!CAT2(PL_utf8_,class)) { \
- bool throw_away __attribute__unused__; \
+ bool throw_away PERL_UNUSED_DECL; \
ENTER; save_re_context(); \
throw_away = CAT2(is_utf8_,class)((const U8*)" "); \
LEAVE; } } STMT_END