liblttng-ctl: use export list to define exported symbols
[lttng-tools.git] / src / common / bytecode / bytecode.c
index fb8985a00dd2704a293427543173ebff980e85fa..1798f9ba27b3fc035c6aa0af594a261e55f7b7a1 100644 (file)
@@ -13,7 +13,8 @@
 
 #define INIT_ALLOC_SIZE 4
 
-static inline int get_count_order(unsigned int count)
+static inline
+int get_count_order(unsigned int count)
 {
        int order;
 
@@ -23,7 +24,6 @@ static inline int get_count_order(unsigned int count)
        return order;
 }
 
-LTTNG_HIDDEN
 int bytecode_init(struct lttng_bytecode_alloc **fb)
 {
        uint32_t alloc_len;
@@ -38,7 +38,7 @@ int bytecode_init(struct lttng_bytecode_alloc **fb)
        }
 }
 
-LTTNG_HIDDEN
+static
 int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, uint32_t align, uint32_t len)
 {
        int32_t ret;
@@ -69,7 +69,6 @@ int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, uint32_t align, uint3
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push(struct lttng_bytecode_alloc **fb, const void *data,
                uint32_t align, uint32_t len)
 {
@@ -82,7 +81,6 @@ int bytecode_push(struct lttng_bytecode_alloc **fb, const void *data,
        return 0;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_logical(struct lttng_bytecode_alloc **fb,
                struct logical_op *data,
                uint32_t align, uint32_t len,
@@ -100,7 +98,6 @@ int bytecode_push_logical(struct lttng_bytecode_alloc **fb,
        return 0;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_payload_root(struct lttng_bytecode_alloc **bytecode)
 {
        int ret;
@@ -120,7 +117,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_context_root(struct lttng_bytecode_alloc **bytecode)
 {
        int ret;
@@ -140,7 +136,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_app_context_root(struct lttng_bytecode_alloc **bytecode)
 {
        int ret;
@@ -160,7 +155,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_index_u64(struct lttng_bytecode_alloc **bytecode,
                uint64_t index)
 {
@@ -186,7 +180,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_symbol(struct lttng_bytecode_alloc **bytecode,
                struct lttng_bytecode_alloc **bytecode_reloc,
                const char *symbol)
@@ -254,7 +247,6 @@ end:
  *
  * Return allocated bytecode or NULL on error.
  */
-LTTNG_HIDDEN
 struct lttng_bytecode *lttng_bytecode_copy(
                const struct lttng_bytecode *orig_f)
 {
This page took 0.024807 seconds and 4 git commands to generate.