Clean-up: bytecode: hide file-local bytecode_reserve util
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Mar 2021 22:40:45 +0000 (17:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 9 Mar 2021 04:51:11 +0000 (23:51 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic68ab476ed16bc2f327d5967438fcb9febe2ead1

src/common/bytecode/bytecode.c
src/common/bytecode/bytecode.h

index fb8985a00dd2704a293427543173ebff980e85fa..6a5b171e149ed38692f675c53fd45982f1189bab 100644 (file)
@@ -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;
index 498f7f0001e11fda2bd5c7fc0793b2feee6619ee..7e9b9f09edf168ed04bfdb2ebad067df9e609480 100644 (file)
@@ -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,
This page took 0.027144 seconds and 4 git commands to generate.