#define BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
/*
- * Babeltrace - Internal Trace IR utilities
- *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
}
static inline
-int bt_util_ns_from_origin(struct bt_clock_class *clock_class, uint64_t value,
- int64_t *ns_from_origin)
+int bt_util_ns_from_origin(const struct bt_clock_class *clock_class,
+ uint64_t value, int64_t *ns_from_origin)
{
int ret = 0;
uint64_t value_ns_unsigned;