X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fnotification%2Fnotification.c;h=3a6090b9265cabc453e38c7629b7c1d9b78702e4;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=5a835092001e48528857b4d46d0b6ae32b5712e5;hpb=3a2cb327fd24e53a9b163372b9079003dd422655;p=babeltrace.git diff --git a/lib/graph/notification/notification.c b/lib/graph/notification/notification.c index 5a835092..3a6090b9 100644 --- a/lib/graph/notification/notification.c +++ b/lib/graph/notification/notification.c @@ -25,7 +25,7 @@ #define BT_LOG_TAG "NOTIF" #include -#include +#include #include #include #include @@ -62,7 +62,7 @@ void bt_notification_init(struct bt_notification *notification, } enum bt_notification_type bt_notification_get_type( - struct bt_notification *notification) + const struct bt_notification *notification) { BT_ASSERT_PRE_NON_NULL(notification, "Notification"); return notification->type;