From 361cf5736025dc2df40b5a0e9a61e11596387866 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Tue, 2 Jul 2024 14:58:08 -0400 Subject: [PATCH] xrt: make xrt_device_update_inputs return xrt_result_t Part-of: --- doc/changes/xrt/mr.2246.md | 1 + src/xrt/include/xrt/xrt_device.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/changes/xrt/mr.2246.md diff --git a/doc/changes/xrt/mr.2246.md b/doc/changes/xrt/mr.2246.md new file mode 100644 index 000000000..a401ffdc8 --- /dev/null +++ b/doc/changes/xrt/mr.2246.md @@ -0,0 +1 @@ +Change: `xrt_device_update_inputs` returns `xrt_result_t` diff --git a/src/xrt/include/xrt/xrt_device.h b/src/xrt/include/xrt/xrt_device.h index b2a866ed5..279d1cb10 100644 --- a/src/xrt/include/xrt/xrt_device.h +++ b/src/xrt/include/xrt/xrt_device.h @@ -561,10 +561,11 @@ struct xrt_device * * @public @memberof xrt_device */ -static inline void +static inline xrt_result_t xrt_device_update_inputs(struct xrt_device *xdev) { xdev->update_inputs(xdev); + return XRT_SUCCESS; } /*!