From: Jérémie Galarneau Date: Mon, 8 Mar 2021 22:40:45 +0000 (-0500) Subject: Clean-up: bytecode: hide file-local bytecode_reserve util X-Git-Tag: v2.13.0-rc1~259 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d0cede2590e42c3be77e9434e3de36d86eed07dd;p=lttng-tools.git Clean-up: bytecode: hide file-local bytecode_reserve util Signed-off-by: Jérémie Galarneau Change-Id: Ic68ab476ed16bc2f327d5967438fcb9febe2ead1 --- diff --git a/src/common/bytecode/bytecode.c b/src/common/bytecode/bytecode.c index fb8985a00..6a5b171e1 100644 --- a/src/common/bytecode/bytecode.c +++ b/src/common/bytecode/bytecode.c @@ -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; diff --git a/src/common/bytecode/bytecode.h b/src/common/bytecode/bytecode.h index 498f7f000..7e9b9f09e 100644 --- a/src/common/bytecode/bytecode.h +++ b/src/common/bytecode/bytecode.h @@ -235,8 +235,6 @@ struct lttng_bytecode_alloc { }; LTTNG_HIDDEN int bytecode_init(struct lttng_bytecode_alloc **fb); -LTTNG_HIDDEN int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, - uint32_t align, uint32_t len); LTTNG_HIDDEN int bytecode_push(struct lttng_bytecode_alloc **fb, const void *data, uint32_t align, uint32_t len); LTTNG_HIDDEN int bytecode_push_logical(struct lttng_bytecode_alloc **fb,