#define BABELTRACE_GRAPH_SELF_COMPONENT_PORT_INPUT_H
/*
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
}
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