From d0cede2590e42c3be77e9434e3de36d86eed07dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 8 Mar 2021 17:40:45 -0500 Subject: [PATCH] Clean-up: bytecode: hide file-local bytecode_reserve util MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Change-Id: Ic68ab476ed16bc2f327d5967438fcb9febe2ead1 --- src/common/bytecode/bytecode.c | 2 +- src/common/bytecode/bytecode.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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, -- 2.34.1