From: Michael Jeanson Date: Mon, 28 Mar 2022 22:25:14 +0000 (-0400) Subject: Fix: hide symbols erroneously exported in 2.13.5 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a79b00288bf0b04818aed5ca5cfd548f0f3b55c2;p=lttng-tools.git Fix: hide symbols erroneously exported in 2.13.5 Change-Id: I508ac4791749240e511ef832a97e92878dd68df2 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- 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 */