lib: make graph API const-correct
[babeltrace.git] / include / babeltrace / graph / component-sink-internal.h
index 7b67e2fdf5ee3e1e2f731030f0490d941ca896ba..a5880fef22f84d02a97bfb701c2282d0bb861d4f 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/compiler-internal.h>
-#include <babeltrace/graph/component-sink.h>
+#include <babeltrace/graph/component-sink-const.h>
 #include <babeltrace/graph/component-internal.h>
 #include <babeltrace/graph/component-class-internal.h>
 
@@ -37,7 +37,7 @@ struct bt_component_sink {
 
 BT_HIDDEN
 struct bt_component *bt_component_sink_create(
-               struct bt_component_class *class);
+               const struct bt_component_class *class);
 
 BT_HIDDEN
 void bt_component_sink_destroy(struct bt_component *component);
This page took 0.026282 seconds and 4 git commands to generate.