diff --git a/src/detect-isdataat.c b/src/detect-isdataat.c index a958a829e8..7709568159 100644 --- a/src/detect-isdataat.c +++ b/src/detect-isdataat.c @@ -115,7 +115,7 @@ static int DetectAbsentSetup(DetectEngineCtx *de_ctx, Signature *s, const char * return 0; } -bool DetectAbsentValidateContentCallback(Signature *s, const SignatureInitDataBuffer *b) +bool DetectAbsentValidateContentCallback(const Signature *s, const SignatureInitDataBuffer *b) { bool has_other = false; bool only_absent = false; diff --git a/src/detect-isdataat.h b/src/detect-isdataat.h index c0cff88483..f1932ff56c 100644 --- a/src/detect-isdataat.h +++ b/src/detect-isdataat.h @@ -42,6 +42,6 @@ typedef struct DetectAbsentData_ { /* prototypes */ void DetectIsdataatRegister (void); -bool DetectAbsentValidateContentCallback(Signature *s, const SignatureInitDataBuffer *); +bool DetectAbsentValidateContentCallback(const Signature *s, const SignatureInitDataBuffer *); #endif /* SURICATA_DETECT_ISDATAAT_H */