From: Jérémie Galarneau Date: Tue, 7 Jul 2015 14:43:32 +0000 (-0400) Subject: Missing notification parameter in bt_component_sink_handle_notification X-Git-Tag: v2.0.0-pre1~864 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=cc37910da5b698fa3e3db31d497629ed18c5b1b4;p=babeltrace.git Missing notification parameter in bt_component_sink_handle_notification Signed-off-by: Jérémie Galarneau --- diff --git a/include/babeltrace/plugin/sink.h b/include/babeltrace/plugin/sink.h index 8284b348..5f188d33 100644 --- a/include/babeltrace/plugin/sink.h +++ b/include/babeltrace/plugin/sink.h @@ -27,20 +27,23 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif +struct bt_component; +struct bt_notification; + /** * Hand-off a notification to a sink component. * * @param component Component instance + * @param notification Notification instance to handle * @returns One of #bt_component_status values */ enum bt_component_status bt_component_sink_handle_notification( - struct bt_component *component); + struct bt_component *component, + struct bt_notification *notification); #ifdef __cplusplus }