X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-source-internal.h;h=21e4da2c016e06a5165a6f124601cc9986526d7b;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=08c08296d89a7ad232520715d152f658ecbc5998;hpb=834e9996a9d02f0cec468cb103ab2a573b7317b1;p=babeltrace.git diff --git a/include/babeltrace/graph/component-source-internal.h b/include/babeltrace/graph/component-source-internal.h index 08c08296..21e4da2c 100644 --- a/include/babeltrace/graph/component-source-internal.h +++ b/include/babeltrace/graph/component-source-internal.h @@ -35,7 +35,7 @@ struct bt_component_source { BT_HIDDEN struct bt_component *bt_component_source_create( - struct bt_component_class *class); + const struct bt_component_class *class); BT_HIDDEN void bt_component_source_destroy(struct bt_component *component);