i/client: Fix return type incompatibility on Windows

This commit is contained in:
Ryan Pavlik 2023-05-16 16:11:11 -05:00 committed by Jakob Bornecrantz
parent d16576252f
commit 8603e5d63e

View file

@ -7,6 +7,7 @@
* @ingroup ipc_client
*/
#include "xrt/xrt_results.h"
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
@ -376,12 +377,12 @@ ipc_client_instance_create_system(struct xrt_instance *xinst,
return XRT_SUCCESS;
}
static int
static xrt_result_t
ipc_client_instance_get_prober(struct xrt_instance *xinst, struct xrt_prober **out_xp)
{
*out_xp = NULL;
return -1;
return XRT_ERROR_PROBER_NOT_SUPPORTED;
}
static void