X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.c;h=28224e30f141463978de1dfe3a12438f6a0c61b5;hb=7c1f6da21f4d46d9c834820a2b26f0634c7365a9;hp=fb8985a00dd2704a293427543173ebff980e85fa;hpb=6afbab01c56b1a634c7071e1e885759ac4fd0b7f;p=lttng-tools.git diff --git a/src/common/bytecode/bytecode.c b/src/common/bytecode/bytecode.c index fb8985a00..28224e30f 100644 --- a/src/common/bytecode/bytecode.c +++ b/src/common/bytecode/bytecode.c @@ -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; @@ -38,7 +39,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;