Plugin development API: use self enumeration and plugin types
[babeltrace.git] / include / babeltrace / trace-ir / utils-internal.h
index 4c3f8c0392a1fbdfd2c904dc7227f419711b74ee..53de58fc85f9224bd90d4ac76d4b0174b9c954f0 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
 
 /*
- * Babeltrace - Internal Trace IR utilities
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -24,7 +24,7 @@
  */
 
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/trace-ir/field-types.h>
+#include <babeltrace/trace-ir/field-class.h>
 #include <babeltrace/trace-ir/clock-class-internal.h>
 #include <stdint.h>
 
@@ -55,8 +55,8 @@ uint64_t bt_util_ns_from_value(uint64_t frequency, uint64_t value_cycles)
 }
 
 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;
This page took 0.030621 seconds and 4 git commands to generate.