X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fgroup.c;h=f7bbfd5a9155aac87fd93fb6b211466b7ea0435b;hb=c3e68e71e0bca1c067bf24447163ac6850a9b09e;hp=4ac239c9d62c14f43c7b2ddf0623c5e901aeaf5d;hpb=11f6ce94d8fb73f017888681aaba5d7df55fc735;p=deliverable%2Flttng-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); +}