X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fpath.c;h=09cf08a4809d579224f697ccee1748e55256b5c0;hb=97535efaa975ca52bf02c2d5e76351bfd2e3defa;hp=4ee649928f646cee1de22306f71e690fc1bac9fa;hpb=7afaf43b5246ca6495c3e97695e373704f0fd2db;p=lttng-tools.git diff --git a/src/common/actions/path.c b/src/common/actions/path.c index 4ee649928..09cf08a48 100644 --- a/src/common/actions/path.c +++ b/src/common/actions/path.c @@ -95,15 +95,14 @@ end: return; } -LTTNG_HIDDEN int lttng_action_path_copy(const struct lttng_action_path *src, struct lttng_action_path *dst) { int ret; size_t i, src_count; - assert(src); - assert(dst); + LTTNG_ASSERT(src); + LTTNG_ASSERT(dst); lttng_dynamic_array_init(&dst->indexes, sizeof(uint64_t), NULL); src_count = lttng_dynamic_array_get_count(&src->indexes); @@ -126,7 +125,6 @@ end: return ret; } -LTTNG_HIDDEN ssize_t lttng_action_path_create_from_payload( struct lttng_payload_view *view, struct lttng_action_path **_action_path) @@ -181,7 +179,6 @@ end: return ret; } -LTTNG_HIDDEN int lttng_action_path_serialize(const struct lttng_action_path *action_path, struct lttng_payload *payload) {