summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-13 13:44:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-13 13:44:58 +0000
commit44dbb6954f87e9897f792db3f9f84f1f3ba8701a (patch)
tree72ca1ed0aa8db3f30e8208169d54fcedce02130e /XSUB.h
parentac4dd2943cdc43c734ad9f0b03656f869757c415 (diff)
downloadperl-44dbb6954f87e9897f792db3f9f84f1f3ba8701a.tar.gz
Hide __attribute__((unused)) behind PERL_UNUSED_DECL as
suggested by NI-S. p4raw-id: //depot/perl@10561
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XSUB.h b/XSUB.h
index acc0cdedb9..74e37ed5f0 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -69,7 +69,7 @@ handled automatically by C<xsubpp>.
/* gcc -Wall: if an xsub has no arguments and PPCODE is used
* and none of ST, XSRETURN or XSprePUSH macros are used
* then `ax' (setup by dXSARGS) is unused. */
-#define dAX I32 ax __attribute__((unused)) = MARK - PL_stack_base + 1
+#define dAX I32 ax PERL_UNUSED_DECL = MARK - PL_stack_base + 1
#define dITEMS I32 items = SP - MARK