lib: make graph API const-correct
[babeltrace.git] / include / babeltrace / graph / self-component-port-output.h
index 6857f3e84604a3245484688a6415c47866ca6bfe..23801ff20e12b49d73ecb800ee9cc1ae88d84c95 100644 (file)
@@ -43,10 +43,10 @@ bt_self_component_port_output_as_self_component_port(
 }
 
 static inline
-struct bt_port_output *bt_self_component_port_output_as_port_output(
+const struct bt_port_output *bt_self_component_port_output_as_port_output(
                struct bt_self_component_port_output *self_component_port)
 {
-       return (void *) self_component_port;
+       return (const void *) self_component_port;
 }
 
 #ifdef __cplusplus
This page took 0.023815 seconds and 4 git commands to generate.