summaryrefslogtreecommitdiff
path: root/regcomp.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 /regcomp.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 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index 923058b32f..c76edd7649 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -7,6 +7,10 @@
* License or the Artistic License, as specified in the README file.
*
*/
+
+#ifndef PERL_REGCOMP_H_
+#define PERL_REGCOMP_H_
+
#include "regcharclass.h"
/* Convert branch sequences to more efficient trie ops? */
@@ -1118,6 +1122,8 @@ typedef enum {
WB_BOUND
} bound_type;
+#endif /* PERL_REGCOMP_H_ */
+
/*
* ex: set ts=8 sts=4 sw=4 et:
*/