mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
ipc: Constify
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1655>
This commit is contained in:
parent
a86db1307d
commit
24117123f5
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue