lib: make graph API const-correct
[babeltrace.git] / lib / graph / notification / notification.c
index 5a835092001e48528857b4d46d0b6ae32b5712e5..3a6090b9265cabc453e38c7629b7c1d9b78702e4 100644 (file)
@@ -25,7 +25,7 @@
 #define BT_LOG_TAG "NOTIF"
 #include <babeltrace/lib-logging-internal.h>
 
-#include <babeltrace/graph/private-notification.h>
+#include <babeltrace/graph/notification-const.h>
 #include <babeltrace/graph/notification-internal.h>
 #include <babeltrace/graph/graph-internal.h>
 #include <babeltrace/assert-internal.h>
@@ -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;
This page took 0.024146 seconds and 4 git commands to generate.