X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fnotification%2Fevent.c;fp=lib%2Fgraph%2Fnotification%2Fevent.c;h=303a65204476b98906afb80f0dbeca17f7b71acb;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=9b09bc42f4414f200586f2023bd03574af423346;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d;p=babeltrace.git diff --git a/lib/graph/notification/event.c b/lib/graph/notification/event.c index 9b09bc42..303a6520 100644 --- a/lib/graph/notification/event.c +++ b/lib/graph/notification/event.c @@ -33,7 +33,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -75,7 +76,7 @@ end: return (void *) notification; } -struct bt_private_notification *bt_private_notification_event_create( +struct bt_notification *bt_notification_event_create( struct bt_self_notification_iterator *self_notif_iter, struct bt_event_class *event_class, struct bt_packet *packet) @@ -189,14 +190,14 @@ struct bt_event *borrow_event(struct bt_notification *notification) return event_notification->event; } -struct bt_event *bt_private_notification_event_borrow_event( - struct bt_private_notification *notification) +struct bt_event *bt_notification_event_borrow_event( + struct bt_notification *notification) { - return borrow_event((void *) notification); + return borrow_event(notification); } -const struct bt_event *bt_notification_event_borrow_event( - struct bt_notification *notification) +const struct bt_event *bt_notification_event_borrow_event_const( + const struct bt_notification *notification) { - return borrow_event(notification); + return borrow_event((void *) notification); }