From a79b00288bf0b04818aed5ca5cfd548f0f3b55c2 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 28 Mar 2022 18:25:14 -0400 Subject: [PATCH] Fix: hide symbols erroneously exported in 2.13.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I508ac4791749240e511ef832a97e92878dd68df2 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- src/common/index-allocator.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/index-allocator.h b/src/common/index-allocator.h index 3da733e9e..7ab067ba1 100644 --- a/src/common/index-allocator.h +++ b/src/common/index-allocator.h @@ -8,6 +8,7 @@ #ifndef _COMMON_INDEX_ALLOCATOR_H #define _COMMON_INDEX_ALLOCATOR_H +#include #include struct lttng_index_allocator; @@ -21,18 +22,21 @@ enum lttng_index_allocator_status { /* * Create an index allocator of `index_count` slots. */ +LTTNG_HIDDEN struct lttng_index_allocator *lttng_index_allocator_create( uint64_t index_count); /* * Get the number of indexes currently in use. */ +LTTNG_HIDDEN uint64_t lttng_index_allocator_get_index_count( struct lttng_index_allocator *allocator); /* * Allocate (i.e. reserve) a slot. */ +LTTNG_HIDDEN enum lttng_index_allocator_status lttng_index_allocator_alloc( struct lttng_index_allocator *allocator, uint64_t *index); @@ -41,12 +45,14 @@ enum lttng_index_allocator_status lttng_index_allocator_alloc( * Release a slot by index. The slot will be re-used by the index allocator * in future 'alloc' calls. */ +LTTNG_HIDDEN enum lttng_index_allocator_status lttng_index_allocator_release( struct lttng_index_allocator *allocator, uint64_t index); /* * Destroy an index allocator. */ +LTTNG_HIDDEN void lttng_index_allocator_destroy(struct lttng_index_allocator *allocator); #endif /* _COMMON_INDEX_ALLOCATOR_H */ -- 2.34.1