#include "common/macros.h"
#include "common/common.h"
#include "lib/object-pool.h"
-#include "compat/uuid.h"
+#include "common/uuid.h"
#include <babeltrace2/types.h>
#include "lib/property.h"
#include "common/assert.h"
uint64_t offset_cycles;
struct {
- uint8_t uuid[BABELTRACE_UUID_LEN];
+ bt_uuid_t uuid;
/* NULL or `uuid` above */
bt_uuid value;
return bt_common_clock_value_from_ns_from_origin(cc->offset_seconds,
cc->offset_cycles, cc->frequency, ns_from_origin,
- raw_value) ? BT_FUNC_STATUS_OVERFLOW : BT_FUNC_STATUS_OK;
+ raw_value) ? BT_FUNC_STATUS_OVERFLOW_ERROR : BT_FUNC_STATUS_OK;
}
#endif /* BABELTRACE_TRACE_IR_CLOCK_CLASS_INTERNAL_H */