misc: Remove duplicate function declarations

Ticket: #7297
pull/12088/head
Nancy Enos 4 months ago committed by Victor Julien
parent 98cd2411b6
commit 56e10fd3b2

@ -103,8 +103,6 @@ struct PktPool_;
/* declare these here as they are called from the /* declare these here as they are called from the
* PACKET_RECYCLE and PACKET_CLEANUP macro's. */ * PACKET_RECYCLE and PACKET_CLEANUP macro's. */
typedef struct AppLayerDecoderEvents_ AppLayerDecoderEvents; typedef struct AppLayerDecoderEvents_ AppLayerDecoderEvents;
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events);
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events);
/* Address */ /* Address */
typedef struct Address_ { typedef struct Address_ {

@ -29,8 +29,6 @@ void DetectRunPrefilterFrame(DetectEngineThreadCtx *det_ctx, const SigGroupHead
bool DetectRunFrameInspectRule(ThreadVars *tv, DetectEngineThreadCtx *det_ctx, const Signature *s, bool DetectRunFrameInspectRule(ThreadVars *tv, DetectEngineThreadCtx *det_ctx, const Signature *s,
Flow *f, Packet *p, const Frames *frames, const Frame *frame); 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, int DetectEngineInspectFrameBufferGeneric(DetectEngineThreadCtx *det_ctx,
const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p, const DetectEngineFrameInspectionEngine *engine, const Signature *s, Packet *p,
const Frames *frames, const Frame *frame); const Frames *frames, const Frame *frame);

@ -113,8 +113,6 @@ void DetectEngineFrameMpmRegister(DetectEngineCtx *de_ctx, const char *name, int
const DetectBufferMpmRegistry *mpm_reg, int list_id), const DetectBufferMpmRegistry *mpm_reg, int list_id),
AppProto alproto, uint8_t type); 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, int PrefilterGenericMpmFrameRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx,
const DetectBufferMpmRegistry *mpm_reg, int list_id); const DetectBufferMpmRegistry *mpm_reg, int list_id);

@ -28,6 +28,7 @@
#include "detect-engine.h" #include "detect-engine.h"
#include "detect-engine-mpm.h" #include "detect-engine-mpm.h"
#include "detect-icmpv4hdr.h" #include "detect-icmpv4hdr.h"
#include "detect-engine-prefilter.h"
/* prototypes */ /* prototypes */
static int DetectIcmpv4HdrSetup(DetectEngineCtx *, Signature *, const char *); static int DetectIcmpv4HdrSetup(DetectEngineCtx *, Signature *, const char *);

@ -22,6 +22,7 @@
#include "util-profiling.h" #include "util-profiling.h"
#include "util-validate.h" #include "util-validate.h"
#include "action-globals.h" #include "action-globals.h"
#include "app-layer-events.h"
/** \brief issue drop action /** \brief issue drop action
* *

Loading…
Cancel
Save