projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove "unknown clock snapshot" concept
[babeltrace.git]
/
lib
/
graph
/
message
/
message-iterator-inactivity.c
diff --git
a/lib/graph/message/message-iterator-inactivity.c
b/lib/graph/message/message-iterator-inactivity.c
index 26b863f482969cf9a07abaa3767ec0b013d92479..0d1a2abaeeb01b28525c139e8ba636e7aecb7282 100644
(file)
--- a/
lib/graph/message/message-iterator-inactivity.c
+++ b/
lib/graph/message/message-iterator-inactivity.c
@@
-93,15
+93,13
@@
end:
return (void *) ret_msg;
}
return (void *) ret_msg;
}
-extern
enum bt_clock_snapshot_state
+extern
const struct bt_clock_snapshot *
bt_message_message_iterator_inactivity_borrow_default_clock_snapshot_const(
bt_message_message_iterator_inactivity_borrow_default_clock_snapshot_const(
- const bt_message *msg
, const bt_clock_snapshot **snapshot
)
+ const bt_message *msg)
{
struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
BT_ASSERT_PRE_NON_NULL(msg, "Message");
{
struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
BT_ASSERT_PRE_NON_NULL(msg, "Message");
- BT_ASSERT_PRE_NON_NULL(snapshot, "Clock snapshot (output)");
BT_ASSERT_PRE_MSG_IS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
BT_ASSERT_PRE_MSG_IS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
- *snapshot = inactivity->default_cs;
- return BT_CLOCK_SNAPSHOT_STATE_KNOWN;
+ return inactivity->default_cs;
}
}
This page took
0.023404 seconds
and
4
git commands to generate.