Refactoring: add back constness of public API structures
[lttng-ust.git] / include / ust-dynamic-type.h
index 41c37788fbe10ad092aba62d7a9e78131812fb44..e63fc4c4c4037372b9ea4b06e382358ef7564542 100644 (file)
@@ -26,13 +26,13 @@ enum lttng_ust_dynamic_type {
 };
 
 int lttng_ust_dynamic_type_choices(size_t *nr_choices,
-               struct lttng_ust_event_field ***choices)
+               const struct lttng_ust_event_field ***choices)
        __attribute__((visibility("hidden")));
 
-struct lttng_ust_event_field *lttng_ust_dynamic_type_field(int64_t value)
+const struct lttng_ust_event_field *lttng_ust_dynamic_type_field(int64_t value)
        __attribute__((visibility("hidden")));
 
-struct lttng_ust_event_field *lttng_ust_dynamic_type_tag_field(void)
+const struct lttng_ust_event_field *lttng_ust_dynamic_type_tag_field(void)
        __attribute__((visibility("hidden")));
 
 #endif /* _LTTNG_UST_DYNAMIC_TYPE_H */
This page took 0.023715 seconds and 4 git commands to generate.