stats: revert stat_validate_counter_vector3 non-static

This reverts commit c30157811e4c8e870d2680b08ecd3a38dff2d53b.

Type: refactor

Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: Id011c8e5acb1613e09fd339ce614159c0acd651a
This commit is contained in:
Ray Kinsella
2021-09-07 13:45:08 +01:00
committed by Ole Tr�an
parent a7d2aabae8
commit 5161c4ab57
2 changed files with 1 additions and 4 deletions

View File

@ -111,9 +111,6 @@ void stat_segment_set_state_counter (u32 index, u64 value);
void stat_segment_poll_add (u32 vector_index, stat_segment_update_fn update_fn,
u32 caller_index, u32 interval);
counter_t **stat_validate_counter_vector3 (counter_t **counters, u32 max1,
u32 max2);
u32 stat_segment_new_entry (u8 *name, stat_directory_type_t t);
void vlib_stats_register_mem_heap (clib_mem_heap_t *heap);
void vlib_stat_segment_lock (void);

View File

@ -63,7 +63,7 @@ stat_provider_mem_usage_update_fn (stat_segment_directory_entry_t *e,
cb[STAT_MEM_RELEASABLE] = usage.bytes_overhead;
}
counter_t **
static counter_t **
stat_validate_counter_vector3 (counter_t **counters, u32 max1, u32 max2)
{
stat_segment_main_t *sm = &stat_segment_main;