lib: remove unused includes
[babeltrace.git] / src / lib / trace-ir / clock-snapshot.c
index 55e3777b2f098ae123eaedf069959820fca14994..cb45d56e0aacdc28d8844036c6a18ed3ae643f73 100644 (file)
@@ -8,19 +8,16 @@
 #include "lib/logging.h"
 
 #include "lib/assert-cond.h"
-#include "common/uuid.h"
 #include "clock-class.h"
 #include "clock-snapshot.h"
 #include <babeltrace2/trace-ir/clock-snapshot.h>
 #include "compat/compiler.h"
 #include <babeltrace2/types.h>
 #include "compat/string.h"
-#include <inttypes.h>
 #include "lib/object.h"
 #include "common/assert.h"
 #include "lib/func-status.h"
 
-BT_HIDDEN
 void bt_clock_snapshot_destroy(struct bt_clock_snapshot *clock_snapshot)
 {
        BT_ASSERT(clock_snapshot);
@@ -29,7 +26,6 @@ void bt_clock_snapshot_destroy(struct bt_clock_snapshot *clock_snapshot)
        g_free(clock_snapshot);
 }
 
-BT_HIDDEN
 struct bt_clock_snapshot *bt_clock_snapshot_new(
                struct bt_clock_class *clock_class)
 {
@@ -55,7 +51,6 @@ end:
        return ret;
 }
 
-BT_HIDDEN
 struct bt_clock_snapshot *bt_clock_snapshot_create(
                struct bt_clock_class *clock_class)
 {
@@ -79,7 +74,6 @@ end:
        return clock_snapshot;
 }
 
-BT_HIDDEN
 void bt_clock_snapshot_recycle(struct bt_clock_snapshot *clock_snapshot)
 {
        struct bt_clock_class *clock_class;
@@ -117,6 +111,7 @@ void bt_clock_snapshot_recycle(struct bt_clock_snapshot *clock_snapshot)
        bt_object_put_ref(clock_class);
 }
 
+BT_EXPORT
 uint64_t bt_clock_snapshot_get_value(
                const struct bt_clock_snapshot *clock_snapshot)
 {
@@ -125,6 +120,7 @@ uint64_t bt_clock_snapshot_get_value(
        return clock_snapshot->value_cycles;
 }
 
+BT_EXPORT
 enum bt_clock_snapshot_get_ns_from_origin_status
 bt_clock_snapshot_get_ns_from_origin(
                const struct bt_clock_snapshot *clock_snapshot,
@@ -153,6 +149,7 @@ end:
        return ret;
 }
 
+BT_EXPORT
 const struct bt_clock_class *bt_clock_snapshot_borrow_clock_class_const(
                const struct bt_clock_snapshot *clock_snapshot)
 {
This page took 0.028949 seconds and 4 git commands to generate.