diff --git a/src/util-mpm.c b/src/util-mpm.c index f1b0b57329..f7d0b1f46c 100644 --- a/src/util-mpm.c +++ b/src/util-mpm.c @@ -45,6 +45,9 @@ #include "hs.h" #endif +MpmTableElmt mpm_table[MPM_TABLE_SIZE]; +int mpm_default_matcher; + /** * \brief Register a new Mpm Context. * diff --git a/src/util-mpm.h b/src/util-mpm.h index a47a9cf2e1..8f52fa68fc 100644 --- a/src/util-mpm.h +++ b/src/util-mpm.h @@ -166,8 +166,8 @@ typedef struct MpmTableElmt_ { uint8_t flags; } MpmTableElmt; -MpmTableElmt mpm_table[MPM_TABLE_SIZE]; -int mpm_default_matcher; +extern MpmTableElmt mpm_table[MPM_TABLE_SIZE]; +extern int mpm_default_matcher; struct DetectEngineCtx_;