X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fnotification%2Fdiscarded-elements.c;h=0dfd757966dc070740de2a48a0e501970077e331;hb=5c5632787fc9cafa602c89a28966bcfd01ec0204;hp=08fa0cbfe4e9b1011462f7766e951e03b3e91247;hpb=094ff7c009937bb23c056333baffe734308a6b06;p=babeltrace.git diff --git a/lib/graph/notification/discarded-elements.c b/lib/graph/notification/discarded-elements.c index 08fa0cbf..0dfd7579 100644 --- a/lib/graph/notification/discarded-elements.c +++ b/lib/graph/notification/discarded-elements.c @@ -53,6 +53,7 @@ void bt_notification_discarded_elements_destroy(struct bt_object *obj) BT_HIDDEN struct bt_notification *bt_notification_discarded_elements_create( + struct bt_graph *graph, enum bt_notification_type type, struct bt_stream *stream, struct bt_clock_value *begin_clock_value, @@ -77,7 +78,7 @@ struct bt_notification *bt_notification_discarded_elements_create( } bt_notification_init(¬ification->parent, type, - bt_notification_discarded_elements_destroy); + bt_notification_discarded_elements_destroy, NULL); ret_notif = ¬ification->parent; notification->stream = bt_get(stream); notification->begin_clock_value = bt_get(begin_clock_value);