projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: update and simplify the `bt_object` API
[babeltrace.git]
/
lib
/
ctf-writer
/
clock.c
diff --git
a/lib/ctf-writer/clock.c
b/lib/ctf-writer/clock.c
index 106947e2cc05cc76d88c6a72afd93233928892e0..0437207b1fa3c56eec05811aa16a27435db80b65 100644
(file)
--- a/
lib/ctf-writer/clock.c
+++ b/
lib/ctf-writer/clock.c
@@
-57,7
+57,7
@@
struct bt_ctf_clock *bt_ctf_clock_create(const char *name)
goto error;
}
- bt_object_init
(clock
, bt_ctf_clock_destroy);
+ bt_object_init
_shared(&clock->base
, bt_ctf_clock_destroy);
clock->value = 0;
/* Pre-2.0.0 backward compatibility: default frequency is 1 GHz */
This page took
0.022891 seconds
and
4
git commands to generate.