diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-03 08:22:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-03 08:22:15 +0000 |
commit | c99ffe5e27f50044d8e283a2c6c45b050a7bcce0 (patch) | |
tree | eb82b52029a7a84ebfe8024f5e85abd27d730eed /XSUB.h | |
parent | d8319b27ddc4c4d74cdae9e6de28ec2be390c5a1 (diff) | |
download | perl-c99ffe5e27f50044d8e283a2c6c45b050a7bcce0.tar.gz |
Take splint into account for PERL_UNUSED_ARG (patch by Jarkko)
p4raw-id: //depot/perl@27696
Diffstat (limited to 'XSUB.h')
-rw-r--r-- | XSUB.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ is a lexical $_ in scope. */ #ifndef PERL_UNUSED_ARG -# ifdef lint +# if defined(lint) && defined(S_SPLINT_S) /* www.splint.org */ # include <note.h> # define PERL_UNUSED_ARG(x) NOTE(ARGUNUSED(x)) # else @@ -119,7 +119,7 @@ is a lexical $_ in scope. #define dITEMS I32 items = SP - MARK -#ifdef lint +#if defined(lint) && defined(S_SPLINT_S) /* www.splint.org */ # define dXSARGS \ NOTE(ARGUNUSED(cv)) \ dSP; dAXMARK; dITEMS |