diff --git a/src/detect-pcre.c b/src/detect-pcre.c index 3537538842..8d2e758a83 100644 --- a/src/detect-pcre.c +++ b/src/detect-pcre.c @@ -77,12 +77,9 @@ static pcre_extra *parse_capture_regex_study; static int pcre_use_jit = 1; #endif -int DetectPcreMatch (ThreadVars *, DetectEngineThreadCtx *, Packet *, Signature *, SigMatch *); -int DetectPcreALMatchCookie(ThreadVars *t, DetectEngineThreadCtx *det_ctx, Flow *f, uint8_t flags, void *state, Signature *s, SigMatch *m); -int DetectPcreALMatchMethod(ThreadVars *t, DetectEngineThreadCtx *det_ctx, Flow *f, uint8_t flags, void *state, Signature *s, SigMatch *m); static int DetectPcreSetup (DetectEngineCtx *, Signature *, char *); -void DetectPcreFree(void *); -void DetectPcreRegisterTests(void); +static void DetectPcreFree(void *); +static void DetectPcreRegisterTests(void); void DetectPcreRegister (void) { @@ -747,7 +744,7 @@ static int DetectPcreSetup (DetectEngineCtx *de_ctx, Signature *s, char *regexst SCReturnInt(ret); } -void DetectPcreFree(void *ptr) +static void DetectPcreFree(void *ptr) { if (ptr == NULL) return; @@ -3306,7 +3303,7 @@ static int DetectPcreParseHttpHost(void) /** * \brief this function registers unit tests for DetectPcre */ -void DetectPcreRegisterTests(void) +static void DetectPcreRegisterTests(void) { #ifdef UNITTESTS /* UNITTESTS */ g_file_data_buffer_id = DetectBufferTypeGetByName("file_data");