counters: minor code cleanup

pull/14398/head
Victor Julien 8 months ago
parent c27d0b4192
commit 13d2fa6092

@ -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;

Loading…
Cancel
Save