ipc: Constify

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
This commit is contained in:
Rylie Pavlik 2024-08-15 11:19:23 -05:00
parent a86db1307d
commit 24117123f5
2 changed files with 2 additions and 2 deletions

View file

@ -254,7 +254,7 @@ ipc_client_instance_destroy(struct xrt_instance *xinst)
* @public @memberof ipc_instance
*/
xrt_result_t
ipc_instance_create(struct xrt_instance_info *i_info, struct xrt_instance **out_xinst)
ipc_instance_create(const struct xrt_instance_info *i_info, struct xrt_instance **out_xinst)
{
struct ipc_client_instance *ii = U_TYPED_CALLOC(struct ipc_client_instance);
ii->base.create_system = ipc_client_instance_create_system;

View file

@ -25,7 +25,7 @@ struct xrt_instance_info;
* @ingroup ipc_client
*/
xrt_result_t
ipc_instance_create(struct xrt_instance_info *ii, struct xrt_instance **out_xinst);
ipc_instance_create(const struct xrt_instance_info *i_info, struct xrt_instance **out_xinst);
#ifdef __cplusplus