Skip to content

Commit

Permalink
clang/format: Fixup format
Browse files Browse the repository at this point in the history
Address clang-format issue with otherwise unchanged source file.
  • Loading branch information
jlucovsky committed Nov 20, 2024
1 parent 8900368 commit a0d8ce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/detect-engine-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ int DetectHelperTransformRegister(const SCTransformTableElmt *kw)
sigmatch_table[DETECT_TBLSIZE_IDX].TransformValidate = (bool (*)(
const uint8_t *content, uint16_t content_len, void *context))kw->TransformValidate;
sigmatch_table[DETECT_TBLSIZE_IDX].Setup =
(int (*)(DetectEngineCtx * de, Signature * s, const char *raw)) kw->Setup;
sigmatch_table[DETECT_TBLSIZE_IDX].Free = (void (*)(DetectEngineCtx * de, void *ptr)) kw->Free;
(int (*)(DetectEngineCtx *de, Signature *s, const char *raw))kw->Setup;
sigmatch_table[DETECT_TBLSIZE_IDX].Free = (void (*)(DetectEngineCtx *de, void *ptr))kw->Free;
DETECT_TBLSIZE_IDX++;
return DETECT_TBLSIZE_IDX - 1;
}
Expand Down
1 change: 0 additions & 1 deletion src/detect-engine-mpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ void DetectEngineFrameMpmRegister(DetectEngineCtx *de_ctx, const char *name, int
const DetectBufferMpmRegistry *mpm_reg, int list_id),
AppProto alproto, uint8_t type);


int PrefilterGenericMpmFrameRegister(DetectEngineCtx *de_ctx, SigGroupHead *sgh, MpmCtx *mpm_ctx,
const DetectBufferMpmRegistry *mpm_reg, int list_id);

Expand Down

0 comments on commit a0d8ce3

Please sign in to comment.