action: Mark parameter of lttng_action_get_type as const
[lttng-tools.git] / include / lttng / action / action.h
index 1309f85bd9128c34baa566064f1849ba7bf41cd8..be7e397d0629e6f94091ac4a0eccaf1061366d2b 100644 (file)
@@ -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.
This page took 0.03131 seconds and 4 git commands to generate.