Fix: hide symbols erroneously exported in 2.13.5
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Mar 2022 22:25:14 +0000 (18:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Mar 2022 01:51:16 +0000 (21:51 -0400)
Change-Id: I508ac4791749240e511ef832a97e92878dd68df2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/index-allocator.h

index 3da733e9ef03db82c4f08a33345de07dbef0df8a..7ab067ba17a97d8d0318b22eafaf415b07015604 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef _COMMON_INDEX_ALLOCATOR_H
 #define _COMMON_INDEX_ALLOCATOR_H
 
+#include <common/macros.h>
 #include <inttypes.h>
 
 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 */
This page took 0.026861 seconds and 5 git commands to generate.