xrt: make xrt_device_update_inputs return xrt_result_t

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2246>
This commit is contained in:
Simon Zeni 2024-07-02 14:58:08 -04:00
parent 9bba558fe1
commit 361cf57360
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1 @@
Change: `xrt_device_update_inputs` returns `xrt_result_t`

View file

@ -561,10 +561,11 @@ struct xrt_device
* *
* @public @memberof xrt_device * @public @memberof xrt_device
*/ */
static inline void static inline xrt_result_t
xrt_device_update_inputs(struct xrt_device *xdev) xrt_device_update_inputs(struct xrt_device *xdev)
{ {
xdev->update_inputs(xdev); xdev->update_inputs(xdev);
return XRT_SUCCESS;
} }
/*! /*!