From 6e2c90a83b745d3b61c581be87fc1bb445330301 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 16 Jul 2015 15:35:01 +0200 Subject: [PATCH] detect: constify some DetectMpmPrefilter args --- src/detect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/detect.c b/src/detect.c index 2b8c0da3d9..b793b42a35 100644 --- a/src/detect.c +++ b/src/detect.c @@ -868,7 +868,8 @@ static void QuickSortSigIntId(SigIntId *sids, uint32_t n) */ static inline void DetectMpmPrefilter(DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, StreamMsg *smsg, Packet *p, - uint8_t flags, AppProto alproto, int has_state, uint8_t *sms_runflags) + const uint8_t flags, const AppProto alproto, + const int has_state, uint8_t *sms_runflags) { /* have a look at the reassembled stream (if any) */ if (p->flowflags & FLOW_PKT_ESTABLISHED) {