From 9d63fa07f5cff6fc12e4f94d4182560e5cfed77e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 9 Nov 2011 08:29:58 -0700 Subject: [PATCH] Change __attribute_unused__ to PERL_UNUSED_DECL The latter is the Perl standard way of making this declaration --- pp_ctl.c | 4 ++-- regcomp.h | 2 +- regexec.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pp_ctl.c b/pp_ctl.c index 8a80792..85ee20f 100644 --- a/pp_ctl.c +++ b/pp_ctl.c @@ -2884,8 +2884,8 @@ PP(pp_goto) SAVEFREESV(cv); /* later, undo the 'avoid premature free' hack */ if (CvISXSUB(cv)) { OP* const retop = cx->blk_sub.retop; - SV **newsp __attribute__unused__; - I32 gimme __attribute__unused__; + SV **newsp PERL_UNUSED_DECL; + I32 gimme PERL_UNUSED_DECL; if (reified) { I32 index; for (index=0; index