From 13d2fa6092ad84d6ec1ff02e4d9a2ea220183b77 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 27 Nov 2025 01:29:24 +0100 Subject: [PATCH] counters: minor code cleanup --- src/counters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/counters.c b/src/counters.c index ca1450e722..6fb3fb0214 100644 --- a/src/counters.c +++ b/src/counters.c @@ -102,7 +102,7 @@ bool stats_stream_events = false; static int StatsOutput(ThreadVars *tv); static int StatsThreadRegister(const char *thread_name, StatsPublicThreadContext *); -void StatsReleaseCounters(StatsCounter *head); +static void StatsReleaseCounters(StatsCounter *head); static int StatsUpdateCounterArray(StatsPrivateThreadContext *pca, StatsPublicThreadContext *pctx); /** stats table is filled each interval and passed to the @@ -1324,7 +1324,7 @@ void StatsReleaseResources(void) * \param head Pointer to the head of the list of perf counters that have to * be freed */ -void StatsReleaseCounters(StatsCounter *head) +static void StatsReleaseCounters(StatsCounter *head) { StatsCounter *pc = NULL;