summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2016-11-30 16:39:08 +1100
committerTony Cook <tony@develop-help.com>2016-11-30 16:41:14 +1100
commitc707756ebb45d88362c58f12444af0ebe1e24ac1 (patch)
tree2a3ba7d53d70559d0e65b2ecd6fd15ecf1960813 /perl.h
parent77ab507a50e98cdaad622ae961429fb3bc4c9c11 (diff)
downloadperl-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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index 9595b3cd63..d832db4531 100644
--- a/perl.h
+++ b/perl.h
@@ -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))