X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.c;h=34dcbb9221dddc1f5f658fa17422d3ba1da8ed1f;hb=395004a13b038fde13364a662d735d16937ea2d1;hp=fb8985a00dd2704a293427543173ebff980e85fa;hpb=6afbab01c56b1a634c7071e1e885759ac4fd0b7f;p=lttng-tools.git diff --git a/src/common/bytecode/bytecode.c b/src/common/bytecode/bytecode.c index fb8985a00..34dcbb922 100644 --- a/src/common/bytecode/bytecode.c +++ b/src/common/bytecode/bytecode.c @@ -1,7 +1,7 @@ /* * Copyright 2020 EfficiOS, Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -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;