From 09d3ff998033d37cd83f9f2097e51ecb22ed181a Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Tue, 1 Oct 2024 16:33:39 +0530 Subject: [PATCH] util/thash: fix formatting --- src/util-thash.c | 5 +++-- src/util-thash.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/util-thash.c b/src/util-thash.c index 9ee376f97da8..3ee006a2c590 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -293,8 +293,9 @@ static int THashInitConfig(THashTableContext *ctx, const char *cnf_prefix) } THashTableContext *THashInit(const char *cnf_prefix, size_t data_size, - int (*DataSet)(void *, void *), void (*DataFree)(void *), uint32_t (*DataHash)(uint32_t, void *), - bool (*DataCompare)(void *, void *), bool reset_memcap, uint64_t memcap, uint32_t hashsize) + int (*DataSet)(void *, void *), void (*DataFree)(void *), + uint32_t (*DataHash)(uint32_t, void *), bool (*DataCompare)(void *, void *), + bool reset_memcap, uint64_t memcap, uint32_t hashsize) { THashTableContext *ctx = SCCalloc(1, sizeof(*ctx)); BUG_ON(!ctx); diff --git a/src/util-thash.h b/src/util-thash.h index 3e6883503f85..16f1467c0c49 100644 --- a/src/util-thash.h +++ b/src/util-thash.h @@ -169,8 +169,8 @@ typedef struct THashTableContext_ { THashTableContext *THashInit(const char *cnf_prefix, size_t data_size, int (*DataSet)(void *dst, void *src), void (*DataFree)(void *), - uint32_t (*DataHash)(uint32_t, void *), bool (*DataCompare)(void *, void *), bool reset_memcap, - uint64_t memcap, uint32_t hashsize); + uint32_t (*DataHash)(uint32_t, void *), bool (*DataCompare)(void *, void *), + bool reset_memcap, uint64_t memcap, uint32_t hashsize); void THashShutdown(THashTableContext *ctx);