diff options
author | Andy Lester <andy@petdance.com> | 2016-11-30 16:39:08 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2016-11-30 16:41:14 +1100 |
commit | c707756ebb45d88362c58f12444af0ebe1e24ac1 (patch) | |
tree | 2a3ba7d53d70559d0e65b2ecd6fd15ecf1960813 /perl.h | |
parent | 77ab507a50e98cdaad622ae961429fb3bc4c9c11 (diff) | |
download | perl-c707756ebb45d88362c58f12444af0ebe1e24ac1.tar.gz |
Remove support for Splint static source code analyzer
Splint has not been updated since 2007 and doesn’t even build for me.
As far as I know, I'm the only person who's ever worked with Splint on
Perl 5.
Here's what changes:
* Makefile target "splint"
* Macros in XSUB.h and perl.h
* Support in regen/embed.pl
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -332,12 +332,7 @@ * or variables/arguments that are used only in certain configurations. */ #ifndef PERL_UNUSED_ARG -# if defined(lint) && defined(S_SPLINT_S) /* www.splint.org */ -# include <note.h> -# define PERL_UNUSED_ARG(x) NOTE(ARGUNUSED(x)) -# else -# define PERL_UNUSED_ARG(x) ((void)sizeof(x)) -# endif +# define PERL_UNUSED_ARG(x) ((void)sizeof(x)) #endif #ifndef PERL_UNUSED_VAR # define PERL_UNUSED_VAR(x) ((void)sizeof(x)) |