X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Fctf%2Flttng-live%2Flttng-live.c;h=d8dd3fc79f5dab85e6724958aac98822d56ebd97;hp=99f6d51c50ca60656c4b90f2976ddc12d3b1a58c;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/plugins/ctf/lttng-live/lttng-live.c b/plugins/ctf/lttng-live/lttng-live.c index 99f6d51c..d8dd3fc7 100644 --- a/plugins/ctf/lttng-live/lttng-live.c +++ b/plugins/ctf/lttng-live/lttng-live.c @@ -562,7 +562,7 @@ enum bt_lttng_live_iterator_status emit_inactivity_notification( enum bt_lttng_live_iterator_status ret = BT_LTTNG_LIVE_ITERATOR_STATUS_OK; struct lttng_live_trace *trace; - struct bt_clock_class *clock_class = NULL; + const struct bt_clock_class *clock_class = NULL; struct bt_clock_value *clock_value = NULL; struct bt_notification *notif = NULL; int retval; @@ -607,7 +607,7 @@ enum bt_lttng_live_iterator_status lttng_live_iterator_next_handle_one_quiescent { enum bt_lttng_live_iterator_status ret = BT_LTTNG_LIVE_ITERATOR_STATUS_OK; - struct bt_clock_class *clock_class = NULL; + const struct bt_clock_class *clock_class = NULL; struct bt_clock_value *clock_value = NULL; if (lttng_live_stream->state != LTTNG_LIVE_STREAM_QUIESCENT) {