X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-sink%2Fwriter.c;h=b87d78d26ceddf6064aceeaee10a656561faaefc;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hp=0142ed6d9868b316f1f580ba20dc64fc7806d9b4;hpb=d94d92ac6656fd252a5d7bb4f6c76935ba18e62e;p=babeltrace.git diff --git a/plugins/ctf/fs-sink/writer.c b/plugins/ctf/fs-sink/writer.c index 0142ed6d..b87d78d2 100644 --- a/plugins/ctf/fs-sink/writer.c +++ b/plugins/ctf/fs-sink/writer.c @@ -123,7 +123,7 @@ enum bt_component_status handle_notification( switch (bt_notification_get_type(notification)) { case BT_NOTIFICATION_TYPE_PACKET_BEGIN: { - struct bt_packet *packet = + const struct bt_packet *packet = bt_notification_packet_begin_get_packet(notification); if (!packet) { @@ -137,7 +137,7 @@ enum bt_component_status handle_notification( } case BT_NOTIFICATION_TYPE_PACKET_END: { - struct bt_packet *packet = + const struct bt_packet *packet = bt_notification_packet_end_get_packet(notification); if (!packet) { @@ -150,7 +150,7 @@ enum bt_component_status handle_notification( } case BT_NOTIFICATION_TYPE_EVENT: { - struct bt_event *event = bt_notification_event_get_event( + const struct bt_event *event = bt_notification_event_get_event( notification); if (!event) { @@ -166,7 +166,7 @@ enum bt_component_status handle_notification( } case BT_NOTIFICATION_TYPE_STREAM_BEGIN: { - struct bt_stream *stream = + const struct bt_stream *stream = bt_notification_stream_begin_get_stream(notification); if (!stream) { @@ -179,7 +179,7 @@ enum bt_component_status handle_notification( } case BT_NOTIFICATION_TYPE_STREAM_END: { - struct bt_stream *stream = + const struct bt_stream *stream = bt_notification_stream_end_get_stream(notification); if (!stream) {