]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pcre2: move header include to suricata-common only
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 20 Sep 2021 19:07:40 +0000 (21:07 +0200)
committerPhilippe Antoine <contact@catenacyber.fr>
Tue, 28 Sep 2021 15:46:19 +0000 (17:46 +0200)
src/detect-engine-analyzer.c
src/detect-parse.h
src/detect-transform-pcrexform.c
src/log-pcap.c
src/suricata-common.h
src/util-classification-config.c
src/util-debug.h
src/util-host-info.c
src/util-misc.c
src/util-reference-config.c
src/util-unittest.c

index 21b98df42c4cd99d48fad376c85d74a5a29275cc..77000202c19a87e073ddd7f59f759c54f94a4003 100644 (file)
@@ -38,7 +38,6 @@
 #include "detect-tcp-flags.h"
 #include "feature.h"
 #include "util-print.h"
-#include <pcre2.h>
 
 static int rule_warnings_only = 0;
 static FILE *rule_engine_analysis_FD = NULL;
index bc5bf163f449662fa65db554bcb220b244d70cac..9d2218462e46a5417edeb034163bfe0a4aa81539 100644 (file)
@@ -45,8 +45,6 @@ typedef struct DetectParseRegex_ {
     struct DetectParseRegex_ *next;
 } DetectParseRegex;
 
-#include <pcre2.h>
-
 typedef struct DetectParseRegex2 {
     pcre2_code *regex;
     pcre2_match_context *context;
index 19fff556e0ed4cee5db17fa50fdb9744dd979229..490404db0758a9be7957166c6a1d241d2e3bb83c 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "suricata-common.h"
 
-#include <pcre2.h>
 #include "detect.h"
 #include "detect-engine.h"
 #include "detect-parse.h"
index 0a954023e70672d8c9106c532908117a874f74ad..f3d88eee1097d2022a3d68b73a8e0332aa870153 100644 (file)
@@ -58,7 +58,6 @@
 #include "util-misc.h"
 #include "util-cpu.h"
 #include "util-atomic.h"
-#include <pcre2.h>
 
 #include "source-pcap.h"
 
index ff813c39262bd5d2a01cb3a0f50f84bd11b30c81..ed37bec946139b616a81a28d65d8f4274915cd69 100644 (file)
@@ -139,6 +139,7 @@ typedef unsigned char u_char
 #endif
 
 #include <pcre.h>
+#include <pcre2.h>
 
 #ifdef HAVE_SYSLOG_H
 #include <syslog.h>
index 0f875ffa6434bcf746e2756d3dfa13b320759b6c..11866fe629d7404ef8b724595b2072169bb42660 100644 (file)
@@ -35,7 +35,6 @@
 #include "util-debug.h"
 #include "util-fmemopen.h"
 #include "util-byte.h"
-#include <pcre2.h>
 
 /* Regex to parse the classtype argument from a Signature.  The first substring
  * holds the classtype name, the second substring holds the classtype the
index ff032aecf4e1ffb72f4bc743919a627fd337a3b0..42b4e1b4574fea3b34ddecbea67842b8810b7a29 100644 (file)
@@ -31,7 +31,6 @@
 #include "util-error.h"
 #include "util-debug-filters.h"
 #include "util-atomic.h"
-#include <pcre2.h>
 
 /**
  * \brief ENV vars that can be used to set the properties for the logging module
index afd186dca27ad7f677317976f6ddf91a406a7540..568e5e0640538bda48d2b69acb522ca95db514a1 100644 (file)
@@ -27,7 +27,6 @@
 #include "suricata-common.h"
 #include "util-host-info.h"
 #include "util-byte.h"
-#include <pcre2.h>
 
 #ifndef OS_WIN32
 #include <sys/utsname.h>
index deafedfa90c1caab48598ca6a2d5574fce6695e3..e5feb1be02d77e0b3756cb84d83bd3b44a353d57 100644 (file)
@@ -27,7 +27,6 @@
 #include "util-debug.h"
 #include "util-unittest.h"
 #include "util-misc.h"
-#include <pcre2.h>
 
 #define PARSE_REGEX "^\\s*(\\d+(?:.\\d+)?)\\s*([a-zA-Z]{2})?\\s*$"
 static pcre2_code *parse_regex = NULL;
index 6768ec5448a7365c4f5a0c12e5fe850ca96dd070..d296d375ee3766734d8fca3aa9bec1e244a74b08 100644 (file)
@@ -25,7 +25,6 @@
 #include "detect.h"
 #include "detect-engine.h"
 #include "util-hash.h"
-#include <pcre2.h>
 
 #include "util-reference-config.h"
 #include "conf.h"
index a9645ac0e7c08c7dd399f6001b59e3e331c889ad..202d95bd1951957c960812bf2625a00ab2a75e1c 100644 (file)
@@ -38,7 +38,6 @@
 #include "util-debug.h"
 #include "util-time.h"
 #include "conf.h"
-#include <pcre2.h>
 
 #include "stream-tcp.h"
 #include "stream-tcp-reassemble.h"