X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-internal.h;h=4ba2fe542093da9a19e0644f8eb87b6af8c7be40;hp=d186425e7a4f1be7b6483d0ebe15e1281d04b3dc;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d diff --git a/include/babeltrace/graph/component-internal.h b/include/babeltrace/graph/component-internal.h index d186425e..4ba2fe54 100644 --- a/include/babeltrace/graph/component-internal.h +++ b/include/babeltrace/graph/component-internal.h @@ -26,7 +26,7 @@ */ #include -#include +#include #include #include #include @@ -99,10 +99,10 @@ void bt_component_set_graph(struct bt_component *component, struct bt_graph *graph); BT_HIDDEN -uint64_t bt_component_get_input_port_count(struct bt_component *comp); +uint64_t bt_component_get_input_port_count(const struct bt_component *comp); BT_HIDDEN -uint64_t bt_component_get_output_port_count(struct bt_component *comp); +uint64_t bt_component_get_output_port_count(const struct bt_component *comp); BT_HIDDEN struct bt_port_input *bt_component_borrow_input_port_by_index(