summaryrefslogtreecommitdiff
path: root/malloc.c
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 /malloc.c
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 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index f73e22dfd4..6a2ff15547 100644
--- a/malloc.c
+++ b/malloc.c
@@ -305,7 +305,7 @@
# define pTHX void
# define pTHX_
# ifdef HASATTRIBUTE
-# define dTHX extern int Perl___notused __attribute__ ((unused))
+# define dTHX extern int Perl___notused PERL_UNUSED_DECL
# else
# define dTHX extern int Perl___notused
# endif