X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fgroup.c;h=f7bbfd5a9155aac87fd93fb6b211466b7ea0435b;hb=refs%2Fheads%2Fsow-2020-0002-rev2;hp=4ac239c9d62c14f43c7b2ddf0623c5e901aeaf5d;hpb=3e6e0df2f8f9f23d252c2508b6d741916dfcc4b3;p=lttng-tools.git diff --git a/src/common/actions/group.c b/src/common/actions/group.c index 4ac239c9d..f7bbfd5a9 100644 --- a/src/common/actions/group.c +++ b/src/common/actions/group.c @@ -353,3 +353,11 @@ const struct lttng_action *lttng_action_group_get_at_index( end: return action; } + +struct lttng_action *lttng_action_group_get_mutable_at_index( + struct lttng_action *group, + unsigned int index) +{ + return (struct lttng_action *) lttng_action_group_get_at_index( + (const struct lttng_action *) group, index); +}