Skip to content

misc: Remove duplicate function declarations#12044

Closed
Nancyenos wants to merge 1 commit intoOISF:masterfrom
Nancyenos:Remove-duplicate-function-declarations-v-7
Closed

misc: Remove duplicate function declarations#12044
Nancyenos wants to merge 1 commit intoOISF:masterfrom
Nancyenos:Remove-duplicate-function-declarations-v-7

Conversation

@Nancyenos
Copy link
Contributor

Ticket: #7297

Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Link to ticket: https://redmine.openinfosecfoundation.org/issues/7297

Describe changes:

@codecov
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.43%. Comparing base (89aa525) to head (d21b9e0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12044   +/-   ##
=======================================
  Coverage   83.42%   83.43%           
=======================================
  Files         910      910           
  Lines      257642   257642           
=======================================
+ Hits       214934   214956   +22     
+ Misses      42708    42686   -22     
Flag Coverage Δ
fuzzcorpus 61.64% <ø> (+0.07%) ⬆️
livemode 19.41% <ø> (-0.01%) ⬇️
pcap 43.92% <ø> (-0.58%) ⬇️
suricata-verify 62.77% <ø> (+<0.01%) ⬆️
unittests 59.37% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@jufajardini jufajardini added the outreachy Contributions made by Outreachy applicants label Oct 28, 2024
@@ -104,7 +104,6 @@ struct PktPool_;
* PACKET_RECYCLE and PACKET_CLEANUP macro's. */
typedef struct AppLayerDecoderEvents_ AppLayerDecoderEvents;
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppLayerDecoderEventsResetEvents is also duplicated, right ?

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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also PrefilterGenericMpmPktRegister duplicate

@Nancyenos
Copy link
Contributor Author

work continued in #12047

@Nancyenos Nancyenos closed this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

outreachy Contributions made by Outreachy applicants

Development

Successfully merging this pull request may close these issues.

3 participants