diff options
author | James E Keenan <jkeenan@cpan.org> | 2017-05-14 09:57:21 -0400 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2017-06-01 09:39:15 -0400 |
commit | 53dfb2b77ebf8ed9ec272b080bee192fb878051a (patch) | |
tree | ea9ed4567e37bc0860ea436d90876f19f2ef995b /XSUB.h | |
parent | 790acddeaa0d2c73524596048b129561225cf100 (diff) | |
download | perl-53dfb2b77ebf8ed9ec272b080bee192fb878051a.tar.gz |
Avoid unused-parameter warning when compiling with g++.
Diffstat (limited to 'XSUB.h')
-rw-r--r-- | XSUB.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |