From: Victor Julien Date: Thu, 16 Jul 2015 13:35:01 +0000 (+0200) Subject: detect: constify some DetectMpmPrefilter args X-Git-Tag: suricata-3.0RC1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e2c90a83b745d3b61c581be87fc1bb445330301;p=thirdparty%2Fsuricata.git detect: constify some DetectMpmPrefilter args --- 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) {