summaryrefslogtreecommitdiff
path: root/invlist_inline.h
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-11-28 22:50:29 -0500
committerJames E Keenan <jkeenan@cpan.org>2018-12-04 21:39:19 -0500
commit3dd7db2969bdf599c8ef565a6173f71e2961362e (patch)
tree6d3b216759d8b534a4a894709336bfebd743ebb2 /invlist_inline.h
parentbf5c7c7dda5ab51eb76dfb8282ec8fa20cea9363 (diff)
downloadperl-3dd7db2969bdf599c8ef565a6173f71e2961362e.tar.gz
Provide header guards to prevent re-inclusion
Per LGTM analysis: https://lgtm.com/projects/g/Perl/perl5/alerts/?mode=tree&ruleFocus=2163210746 and LGTM recommendation: https://lgtm.com/rules/2163210746/ For: RT 133699
Diffstat (limited to 'invlist_inline.h')
-rw-r--r--invlist_inline.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/invlist_inline.h b/invlist_inline.h
index 48084d3d69..cd002cef19 100644
--- a/invlist_inline.h
+++ b/invlist_inline.h
@@ -6,6 +6,9 @@
* License or the Artistic License, as specified in the README file.
*/
+#ifndef PERL_INVLIST_INLINE_H_
+#define PERL_INVLIST_INLINE_H_
+
#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
/* An element is in an inversion list iff its index is even numbered: 0, 2, 4,
@@ -93,3 +96,5 @@ S_invlist_array(SV* const invlist)
# endif
#endif
+
+#endif /* PERL_INVLIST_INLINE_H_ */