summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2017-05-14 09:57:21 -0400
committerJames E Keenan <jkeenan@cpan.org>2017-06-01 09:39:15 -0400
commit53dfb2b77ebf8ed9ec272b080bee192fb878051a (patch)
treeea9ed4567e37bc0860ea436d90876f19f2ef995b /XSUB.h
parent790acddeaa0d2c73524596048b129561225cf100 (diff)
downloadperl-53dfb2b77ebf8ed9ec272b080bee192fb878051a.tar.gz
Avoid unused-parameter warning when compiling with g++.
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 e74abae26f..ec7b58db95 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -119,7 +119,7 @@ is a lexical C<$_> in scope.
* "STATIC", ie. it exports XSUB symbols. You probably don't want that.
*/
-#define XSPROTO(name) void name(pTHX_ CV* cv)
+#define XSPROTO(name) void name(pTHX_ CV* cv __attribute__unused__)
#undef XS
#undef XS_EXTERNAL