lib: make graph API const-correct
[babeltrace.git] / include / babeltrace / graph / self-component-port-input.h
index d25e114479890fd8077e9a04ec12c40b60a2c486..b5b0aad12cea2d3f3c4722ce927f8f40e2c310ab 100644 (file)
@@ -43,10 +43,10 @@ bt_self_component_port_input_as_self_component_port(
 }
 
 static inline
-struct bt_port_input *bt_self_component_port_input_as_port_input(
-               struct bt_self_component_port_input *self_component_port)
+const struct bt_port_input *bt_self_component_port_input_as_port_input(
+               const struct bt_self_component_port_input *self_component_port)
 {
-       return (void *) self_component_port;
+       return (const void *) self_component_port;
 }
 
 #ifdef __cplusplus
This page took 0.024225 seconds and 4 git commands to generate.