Cleanup: namespace 'align' macros
[lttng-tools.git] / src / common / bytecode / bytecode.c
index 28224e30f141463978de1dfe3a12438f6a0c61b5..aadfc17a173ccf528182a023532b701f8c73e716 100644 (file)
@@ -24,7 +24,6 @@ int get_count_order(unsigned int count)
        return order;
 }
 
-LTTNG_HIDDEN
 int bytecode_init(struct lttng_bytecode_alloc **fb)
 {
        uint32_t alloc_len;
@@ -43,7 +42,7 @@ static
 int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, uint32_t align, uint32_t len)
 {
        int32_t ret;
-       uint32_t padding = offset_align((*fb)->b.len, align);
+       uint32_t padding = lttng_offset_align((*fb)->b.len, align);
        uint32_t new_len = (*fb)->b.len + padding + len;
        uint32_t new_alloc_len = sizeof(struct lttng_bytecode_alloc) + new_len;
        uint32_t old_alloc_len = (*fb)->alloc_len;
@@ -70,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)
 {
@@ -83,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,
@@ -101,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;
@@ -121,7 +117,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_context_root(struct lttng_bytecode_alloc **bytecode)
 {
        int ret;
@@ -141,7 +136,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_app_context_root(struct lttng_bytecode_alloc **bytecode)
 {
        int ret;
@@ -161,7 +155,6 @@ end:
        return ret;
 }
 
-LTTNG_HIDDEN
 int bytecode_push_get_index_u64(struct lttng_bytecode_alloc **bytecode,
                uint64_t index)
 {
@@ -187,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)
@@ -255,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.023847 seconds and 4 git commands to generate.