X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fmessage-event-const.h;fp=include%2Fbabeltrace%2Fgraph%2Fmessage-event-const.h;h=52044d08056619bc70b381e6b165452be8b05074;hp=4c611925874a31255bff826696d4ab17ddfcf35c;hb=0cbc2c3316814e4b4bf3fd3ba3b361b165949e95;hpb=2f16a6a228d0059349b8566979c9d579e7e271b3 diff --git a/include/babeltrace/graph/message-event-const.h b/include/babeltrace/graph/message-event-const.h index 4c611925..52044d08 100644 --- a/include/babeltrace/graph/message-event-const.h +++ b/include/babeltrace/graph/message-event-const.h @@ -27,9 +27,6 @@ /* For bt_bool, bt_message, bt_event. bt_clock_class, bt_clock_snapshot */ #include -/* For bt_clock_snapshot_state */ -#include - #ifdef __cplusplus extern "C" { #endif @@ -37,9 +34,8 @@ extern "C" { extern const bt_event *bt_message_event_borrow_event_const( const bt_message *message); -extern bt_clock_snapshot_state -bt_message_event_borrow_default_clock_snapshot_const( - const bt_message *msg, const bt_clock_snapshot **snapshot); +extern const bt_clock_snapshot * +bt_message_event_borrow_default_clock_snapshot_const(const bt_message *msg); extern const bt_clock_class * bt_message_event_borrow_stream_class_default_clock_class_const(