]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
misc: Remove duplicate function declarations
authorNancy Enos <nicymimz@gmail.com>
Mon, 28 Oct 2024 11:22:38 +0000 (14:22 +0300)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Nov 2024 10:39:52 +0000 (11:39 +0100)
Ticket: #7297

src/decode.h
src/detect-engine-frame.h
src/detect-engine-mpm.h
src/detect-icmpv4hdr.c
src/packet.c

index 510a7960e5d6eca6b9b7603783640f1564b8c73f..f36c41a8422e18b622ba4f3fd7f96b09ace26085 100644 (file)
@@ -103,8 +103,6 @@ struct PktPool_;
 /* declare these here as they are called from the
  * PACKET_RECYCLE and PACKET_CLEANUP macro's. */
 typedef struct AppLayerDecoderEvents_ AppLayerDecoderEvents;
-void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events);
-void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events);
 
 /* Address */
 typedef struct Address_ {
index a529e55c4d009a4624c27563519fbe644dab5fca..062d57d2b3305e8e5c006cf0a148ea66db64eb51 100644 (file)
@@ -29,8 +29,6 @@ void DetectRunPrefilterFrame(DetectEngineThreadCtx *det_ctx, const SigGroupHead
 bool DetectRunFrameInspectRule(ThreadVars *tv, DetectEngineThreadCtx *det_ctx, const Signature *s,
         Flow *f, Packet *p, const Frames *frames, const Frame *frame);
 
-int PrefilterGenericMpmFrameRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx,
-        const DetectBufferMpmRegistry *mpm_reg, int list_id);
 int DetectEngineInspectFrameBufferGeneric(DetectEngineThreadCtx *det_ctx,
         const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p,
         const Frames *frames, const Frame *frame);
index 16195414042bda0905b928f307e5e3e3dc3009ae..10bdb86f5bcba4a6fc196aa3910dc75e18964b88 100644 (file)
@@ -113,8 +113,6 @@ void DetectEngineFrameMpmRegister(DetectEngineCtx *de_ctx, const char *name, int
                 const DetectBufferMpmRegistry *mpm_reg, int list_id),
         AppProto alproto, uint8_t type);
 
-int PrefilterGenericMpmPktRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx,
-        const DetectBufferMpmRegistry *mpm_reg, int list_id);
 
 int PrefilterGenericMpmFrameRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx,
         const DetectBufferMpmRegistry *mpm_reg, int list_id);
index 259fbdc2ecc61b46f3fa250166e0217918638421..dbda7c6f14d19009f593bd25a8b379003e71a577 100644 (file)
@@ -28,6 +28,7 @@
 #include "detect-engine.h"
 #include "detect-engine-mpm.h"
 #include "detect-icmpv4hdr.h"
+#include "detect-engine-prefilter.h"
 
 /* prototypes */
 static int DetectIcmpv4HdrSetup(DetectEngineCtx *, Signature *, const char *);
index bd63de7568351e19460b562ac1df1c8bed9efdba..cb6dcf618380f6bdc9ab6f7696f3db7aed7aaba9 100644 (file)
@@ -22,6 +22,7 @@
 #include "util-profiling.h"
 #include "util-validate.h"
 #include "action-globals.h"
+#include "app-layer-events.h"
 
 /** \brief issue drop action
  *