X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Faction%2Faction.h;h=be7e397d0629e6f94091ac4a0eccaf1061366d2b;hp=1309f85bd9128c34baa566064f1849ba7bf41cd8;hb=17182cfd13b6d35cf8c80d4f9ccf8d2bdd1a05f2;hpb=c0374092ddafb9d5ea860665caf123bb17603226 diff --git a/include/lttng/action/action.h b/include/lttng/action/action.h index 1309f85bd..be7e397d0 100644 --- a/include/lttng/action/action.h +++ b/include/lttng/action/action.h @@ -38,7 +38,7 @@ enum lttng_action_status { * Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error. */ extern enum lttng_action_type lttng_action_get_type( - struct lttng_action *action); + const struct lttng_action *action); /* * Destroy (frees) an action object.