Plugin development API: use self enumeration and plugin types
[babeltrace.git] / include / babeltrace / trace-ir / utils-internal.h
index 7ade7e0fda8090c4671c7b48252219114ddce7df..53de58fc85f9224bd90d4ac76d4b0174b9c954f0 100644 (file)
@@ -2,6 +2,8 @@
 #define BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
 
 /*
+ * 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
  * in the Software without restriction, including without limitation the rights
@@ -22,7 +24,7 @@
  */
 
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/trace-ir/field-classes.h>
+#include <babeltrace/trace-ir/field-class.h>
 #include <babeltrace/trace-ir/clock-class-internal.h>
 #include <stdint.h>
 
@@ -53,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.02503 seconds and 4 git commands to generate.