lib: update copyrights
[babeltrace.git] / include / babeltrace / graph / self-component.h
index db2a8a8d84879049c387677e2c6e13283bf923d6..a1bc8b49f0e38ffb9742a81293dfd6c974b4811a 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE_GRAPH_SELF_COMPONENT_H
 
 /*
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
+ * 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
@@ -40,14 +40,14 @@ enum bt_self_component_status {
 };
 
 static inline
-struct bt_component *bt_self_component_borrow_component(
+const struct bt_component *bt_self_component_as_component(
                struct bt_self_component *self_component)
 {
-       return (void *) self_component;
+       return (const void *) self_component;
 }
 
 extern void *bt_self_component_get_data(
-               struct bt_self_component *private_component);
+               const struct bt_self_component *private_component);
 
 extern void bt_self_component_set_data(
                struct bt_self_component *private_component, void *data);
This page took 0.024059 seconds and 4 git commands to generate.