projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make trace IR API const-correct
[babeltrace.git]
/
plugins
/
ctf
/
fs-sink
/
writer.c
diff --git
a/plugins/ctf/fs-sink/writer.c
b/plugins/ctf/fs-sink/writer.c
index 0142ed6d9868b316f1f580ba20dc64fc7806d9b4..b87d78d26ceddf6064aceeaee10a656561faaefc 100644
(file)
--- 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:
{
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) {
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:
{
}
case BT_NOTIFICATION_TYPE_PACKET_END:
{
- struct bt_packet *packet =
+
const
struct bt_packet *packet =
bt_notification_packet_end_get_packet(notification);
if (!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:
{
}
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) {
notification);
if (!event) {
@@
-166,7
+166,7
@@
enum bt_component_status handle_notification(
}
case BT_NOTIFICATION_TYPE_STREAM_BEGIN:
{
}
case BT_NOTIFICATION_TYPE_STREAM_BEGIN:
{
- struct bt_stream *stream =
+
const
struct bt_stream *stream =
bt_notification_stream_begin_get_stream(notification);
if (!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:
{
}
case BT_NOTIFICATION_TYPE_STREAM_END:
{
- struct bt_stream *stream =
+
const
struct bt_stream *stream =
bt_notification_stream_end_get_stream(notification);
if (!stream) {
bt_notification_stream_end_get_stream(notification);
if (!stream) {
This page took
0.024105 seconds
and
4
git commands to generate.